Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
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.