mondeja / mkdocs-include-markdown-plugin

Mkdocs Markdown includer plugin
Apache License 2.0
111 stars 20 forks source link

Apply substitutions from all directives at once #212

Closed mondeja closed 5 months ago

mondeja commented 6 months ago

The problem is explained at https://github.com/mondeja/mkdocs-include-markdown-plugin/pull/208#discussion_r1619477020. #211 implements a workaround for the most common case but it would be nice if we can apply substitutions for both directives at once, probably using placeholders like Python-Markdown does:

https://github.com/Python-Markdown/markdown/blob/ec8c305fb14eb081bb874c917d8b91d3c5122334/markdown/util.py#L66-L78