Skip to content

Cannot use \includesvg{} and \input{} commands inside markdown anymore #186

Answered by Witiko
sinaatalay asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @sinaatalay, glad to hear that the Markdown package has been so enjoyable to you and sorry to hear about your trouble. Since the conversion from markdown to TeX does not obey lines, TeX comments commonly consumed more input than intended, which was unintuitive and a security issue. Since version 2.10.0, percent signs (%) are treated as letters with the hybrid option, see also #42 and #89. Since 2.16.1, the same is true of hash signs (#).

Here is how you can change your code to take this change into account. Your code should still work with TeX Live 2021 after the change:

\markdownSetup{
  hybrid,
  rendererPrototypes={
    image = {
      \begin{figure}[ht!]
        \centering
        

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sinaatalay
Comment options

Answer selected by Witiko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question lua Related to the Lua interface and implementation
2 participants
Converted from issue

This discussion was converted from issue #185 on September 19, 2022 20:07.