-
Huge thanks to the author of The module does a very good job on text for converting markdown to pdf. However, I am having problem with images floating off the text-body onto the footer, I have tried to make some page-breaks by putting SILE command, \pagebreak, into markdown, it worked for a few places but not the rest. Obviously, I was stuck with "\pagebreak" displayed in my pdf. Does anyone has any idea about this behaviour? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Greetings, To invoke SILE commands from within Markdown: as in Pandoc, you can use a fenced code block (or an inline code literal) with a raw attribute -- which, in our case would be
I would prefer (By the way, I think SILE already has a known issue with (images or other) content sometimes overlapping over the footer, but If you can share a minimal working example showing the issue, perhaps we could try to check and investigate the exact case). |
Beta Was this translation helpful? Give feedback.
-
For the record, while the proposed escape to SILE works...
I also went on to add an additional "custom" extension to Markdown's horizontal dividers (#27). So a 14-dash standalone pattern ( |
Beta Was this translation helpful? Give feedback.
Greetings,
Thanks for the kind feedback, it is appreciated!
To invoke SILE commands from within Markdown: as in Pandoc, you can use a fenced code block (or an inline code literal) with a raw attribute -- which, in our case would be
{=sile}
. For a page-break, typically I would suggest using the former, that is:I would prefer
\supereject
, rather than\pagebreak
, as it avoids an "underfull frame" warning (amongst other things).(By the way, I think SILE already has a known issue with (images or other) content sometimes overlapping over the footer, but If you can share a minimal working example showing the issue, perhaps we could try to check and investigate the e…