John MacFarlane

Results 2554 comments of John MacFarlane

Thinking about this a bit more: I don't think it makes sense to break out the whole Templates section. As noted above, the "Variables" part belongs with the main pandoc...

It's interesting. Easier-to-type isn't a desideratum here, and it loses points for looking a bit less like a table. But in some ways it is simpler not to have to...

Transclusion should be possible. See `insertIncludedFile` from Text.Pandoc.Parsing. And look at the RST reader's treatment of include directives for an example of its use.

Can you rebase this into one commit, or a few logically coherent commits? All API changes should be clearly described and marked as such `[API change]` in the commit messages,...

Re `block_transclusions`, `heading_transclusions`: are these really transclusions? From the docs, it looks like they just produce links.

Does `block_ids` also handle the case where the id is on a line by itself before a block? And the case where it is meant to apply to a a...

One idea would be to factor out most of the code in `parse` into a function `parseFromEvents` that takes an EventParser rather than a string as its input. (We'd need...

I made a PR (#112) - review would be welcome.

Currently these are just parsed as raw HTML tags (and hence will only be transmitted to formats that allow raw HTML). It could be a good idea instead to parse...

Pandoc will convert a SingleQuoted element to ``` `foo' ``` in texinfo. Are you suggesting that this should also be changed? The texinfo manual says: > As explained in the...