For my web interface, I have to implement subsets of wiki syntax on my system. Do I need to manually specify the rules and reinvent the wheel? Is there an existing javascript library or jquery plugin that could help with this?
For example, the user enters == Header == Since it is necessary, for example, to convert to the middle header (it is assumed that the environment is defined in this context as a range, as shown below)
<span class="mediumHeader" id = "Header">Header</span>
Now when the user edits the text above, I assume that this will lead to a replacement
<span...> ... </span> with ==...==
Now for every system that I design, it will be according to "my rules" and almost always have to reinvent the wheel. Is there something I could use to facilitate this wiki to / from HTML conversion using jquery / javascript? I am sure this is a problem with a known solution.
I would rather adjust what is acceptable and what is not. I do not have everything to be translated into syntax (or HTML) just as a wiki. Should I just download my own applications?
Phd
source share