Skip to content

Custom writers: inspecting custom extensions early #9732

Answered by tarleb
bpj asked this question in Q&A
Discussion options

You must be logged in to vote

There's a similar issue in pandoc, where we have the extensions wikilinks_title_before_pipe and wikilinks_title_after_pipe. We take the easy way out, the commit which introduced the extensions says:

Pandoc will use wikilinks_title_after_pipe if both extensions are enabled.

The Pandoc function is a good place to check for such conflicts. Custom writers start at the root, as that gives maximum control over the rendering process.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bpj
Comment options

@tarleb
Comment options

Answer selected by bpj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants