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'm reading the extensibility docs and thinking maybe walkTokens or Renderer would work. But all I can achieve is customizing tokens that are already exist. What am I missing?
but after this I don't really know what to do next, since I need a new token, not overriding code token.
Describe the solution you'd like
I think this is something markedjs has already solved, but I can't find out how. If this is the case, I can help adding this to the docs.
If this requires something new, the closest thing I can think of is exposing an API for adding custom tokens, but that might ruin the speed and at the least, typescript support(?). If there's nothing we can easily do, maybe I should fork this repo?
The text was updated successfully, but these errors were encountered:
What pain point are you perceiving?.
I'm trying to add custom token and not sure how to do it or if it's possible
For example, I want to parse
into
I'm reading the extensibility docs and thinking maybe
walkTokens
orRenderer
would work. But all I can achieve is customizing tokens that are already exist. What am I missing?Here's what I've tried:
but after this I don't really know what to do next, since I need a new token, not overriding
code
token.Describe the solution you'd like
I think this is something
markedjs
has already solved, but I can't find out how. If this is the case, I can help adding this to the docs.If this requires something new, the closest thing I can think of is exposing an API for adding custom tokens, but that might ruin the speed and at the least, typescript support(?). If there's nothing we can easily do, maybe I should fork this repo?
The text was updated successfully, but these errors were encountered: