-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Building an extension but it doesn't act as excepted. #2737
Comments
One common mistake: you need to add a Otherwise the Tokenizer will start finding your underline tokens way out in the middle of your document before handling earlier tokens first, and your resulting output becomes out of order or duplicated. |
Thank you, I'll try it now |
This worked. Thank you so much! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Marked version: 4.2.12
Markdown flavor: n/a (?)
I tried to add an extension like this:
For supporting underline in Marked. But for some reasons it didn't work. Can someone explain what I did wrong? Thanks.
Expectation
Result
What was attempted
Before making this issue I attempt to looking some source codes of other extensions of Marked but it did not help. Plus I took a look at the documentation but still no luck. I tried fixing the RegEx in RegExR but it seems good. I probably didn't understand something and did a mistake in the
tokenizer
section but I don't know what it is, can someone help me please? Thanks in advance 👍.The text was updated successfully, but these errors were encountered: