John MacFarlane
John MacFarlane
I think the worry was not about double delimiters per se, but about ambiguities arising from their interaction with single delimiters. I don't think this case poses a serious problem,...
It's the link text. And yes: the order is an issue; in fact, different wiki engines treat the order differently.
I don't know anything about tree-sitter, but this would be a great project for someone who does.
Made a start on this in the `tree-sitter` directory.
OK, it looks like we'd need to define some external scanners to make this work, since the regexes tree-sitter allows don't include any assertions. (We won't be able to distinguish...
https://tree-sitter.github.io/tree-sitter/creating-parsers#external-scanners
Oh, thanks, that one is *much* easier to understand!
Pandoc's example lists offer some of the functionality of these, but only some. It would be better to have a more general solution, rather than implementing example lists here.
In LaTeX you can have ``` \section{My section heading}\label{mysec} ``` and then at some other point in the document, ``` See Section \ref{mysec}. ``` The section will be automatically numbered...
pandoc-crossref provides these capabilities as an add-on to pandoc.