What is Effects.check/interrupt
in micromark?
#174
Replies: 1 comment 2 replies
-
What is “pymdownx”? Do you have a source?
I think what you want is called “attempt” in micromark jargon. You don’t need
My high-level suggest is to not do this. Otherwise, I’d recommend, looking at the existing code you have, and also look at all our working and documented code (especially https://github.com/micromark/micromark-extension-directive) |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to build a micromark extension to make it recognize pymdownx's admonitions and details syntax, namely
The behavior is
???
or!!!
starts a admonition blockWhen I'm doing this, I feel like I need to "peek" or "lookahead" future codes before I can make decision which token it belongs to. I'm not sure what
Effects.check/interrupt
can do and if they can help me out. I've checked the doc but it doesn't say much about its detailed behavior.Also, for this example, could you give me some high level suggestion? There is a (buggy) repo mostly written by other people before and I can merely understand it and make it work. https://github.com/oi-wiki/remark-details
Beta Was this translation helpful? Give feedback.
All reactions