Let me quote that in full:
- There is no plan to provide an extension mechanism at the parsing level. A lot can already be achieved by using reference resolvers, abusing code fences, post-processing the abstract syntax tree, or extending the renderers.
Regarding:
You can add a case to the extensible inline type and process Text.t
nodes to recognize them.
The approach has some limitations (notably you arrive after escaping) but that’s what I used for example in the ocamlmark
POC to provide a syntax for heading identifiers. See the code here.