-
I'd like to use the remark-directive plugin alongside an The The ProblemThe problem is that the
Will be parsed into a tree like
This breaks emoji plugins that look for Idea A: Backtrack if there's a trailing colonBased on the proposed specification and the current implementation, a trailing colon isn't allowed in the text directive (this is why it appears as a separate One major issue with this idea is that currently, there is no spacing requirements to the text directives. For example:
This creates two Idea B: Emojis as text directivesI also considered the feasibility of creating a directive-compatible emoji plugin (e.g. However, with the current parser, the trailing colon is dangling in another There's also the issue that a Any other ideas to get the syntax for both plugins to work together? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
Hmm. Interesting Q. And thanks for such a detailed write up. You’ve answered most of the questions I would’ve otherwise asked! Here is the big complexity: What what means is that the gemoji shortcodes run after markdown is parsed. It’s not a “construct”. The escapes have been used already. So directives and shortcodes run at different stages... |
Beta Was this translation helpful? Give feedback.
Hmm. Interesting Q. And thanks for such a detailed write up. You’ve answered most of the questions I would’ve otherwise asked!
Here is the big complexity:
:\-1:
yields 👎.What what means is that the gemoji shortcodes run after markdown is parsed. It’s not a “construct”. The escapes have been used already. So directives and shortcodes run at different stages...