-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verbatim blocks should not span page boundaries when possible #37
Comments
Ah. Pandoc already expected (and in its default template included, which we then ported to the |
So the line needs to have the |
Ideally verbatim environments would not have page breaks in them.
According to this answer on TeX StackExchange, the following has the desired effect:
casual testing shows this to be workable.
At present Pandoc is emitting
\begin{verbatim}
around fenced code blocks, so we would need to intercept these and instead insert\begin{Verbatim}[samepage=true]
.Far better would be if this was simply a package level setting we could recommend and put in the default preamble.
The text was updated successfully, but these errors were encountered: