Support ^superscript^ ~subscript~ and ==highlight== #238
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.
I'm using Discount in a simple content server to render Markdown files to HTML. I tried to make it fully server side solution without using javascript on the client side. The Markdown pages are authored using Typora. I found that Discount is not 100% compatible with the editor:
2OThere are more differences, and Typora also lacks some of Discount's features, but I wanted at least to implemented these 3 listed above.
You will find my attempt in this pull request. I would like to hear your comments and whether you consider accepting my changes.
Note that all 3 formatting features respond to the single configuration flag which was initially used only for superscript.