You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into problems when trying to parse nested emphasis, e.g. like this:
Bold text bold italic text
The formatting broke after the first single asterisk until the end of paragraph.
So I have written a small utility method to linearize the nested asterisks in source Markdown before I pass it on to the Bypass lib for parsing. It changes the above Markdown like this:
I ran into problems when trying to parse nested emphasis, e.g. like this:
Bold text bold italic text
The formatting broke after the first single asterisk until the end of paragraph.
So I have written a small utility method to linearize the nested asterisks in source Markdown before I pass it on to the Bypass lib for parsing. It changes the above Markdown like this:
Bold text bold italic text
Maybe someone will find it useful, I have published it as a gist on my profile:
https://gist.github.com/lukaszkalnik/d60471385877e7684c402ec5400dd94c
The text was updated successfully, but these errors were encountered: