Skip to content

Renderer \markdownRendererInputVerbatim no line breaks #497

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

You must be logged in to vote

The minted package has the breaklines option that causes overlong lines to break:

You can use \setminted{breaklines=true} in the preamble to enable this. This will only affect code blocks typeset by the minted package, i.e. fenced code blocks. To typeset all code blocks with the minted package, may replace \markdownRendererInputVerbatim{#1} with \inputminted{text}{#1}.

See also the documentation of the minted package.

\catcode`\#=6\relax

In expl3, you can write \char_set_catcode_parameter:N \#.

\catcode`\#=12\relax

In expl3, you can write \char_set_catcode_other:N \#.

Replies: 1 comment 2 replies

Comment options

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

@l0th3r
Comment options

Answer selected by l0th3r
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