Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegEx Reader v1 - Issue 03 #4

Closed
wants to merge 1 commit into from
Closed

RegEx Reader v1 - Issue 03 #4

wants to merge 1 commit into from

Conversation

xguhx
Copy link

@xguhx xguhx commented Dec 9, 2021

Hey @GitSparTV,
This tries to implement #3.

I decided to go with Vanilla JS as you were using it already,
I tried to use Rich Text Editor like CKEditor but could not make it work as RegEx101.

So what I did was just get input from a textfield, parse it and display it in a p tag.

In the end it looks like this:

Screenshot 2021-12-08 225448
ps. I tried to follow the color scheme you have on the site.

The logic is pretty simple, just some Ifs and adding span tags with certain classes.
You can keep the code as it is and improve it if you want, or I can change it for you.

I did not inserted it on the main page because I don't know how would you like to display it.

Let me know what you think.
Thank you for considering this.

@xguhx xguhx closed this by deleting the head repository Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant