Relative Content

Tag Archive for pandoc

What is the practical difference between `writeHtml5` and `writeHtml5string`?

It seems that the writeHtml5 produces a structure, which can be rendered with Blaze. writeHtml5string produces Text.
I looked at the code but cannot understand if there is a difference to call writeHtml5string or combine writeHtml5 and renderHtml from Blaze. Are there cases where one or the other is advisable? Is the option with Blaze faster?

how to change font size for tables in eisvogel template?

Pandoc version: 2.9.2.1 Eisvogel template version: 2.5.0 Note: I asked this question on tex.stackexchange.com and was referred here for the larger pandoc community. Looking for how to change the font size for tables in the eisvogel template used with pandoc to generate PDF from Markdown. I have my Markdown file with a table in it […]

Pandoc Converter: Implement Grid Tables for new format

I have implemented a reader for a custom XML format, in Haskell. Currently, I’m using the normal ‘Table’ and when I convert to Latex/HTML/Docx, table cells have no borders, and no cell merging is possible.
What is the simplest way to implement grid tables in my new reader?

Pandoc ignores custom template?

I try to convert from Markdown to HTML using a custom template. I copied my custom default.html5 to the user data directory, ~/.local/share/pandoc, and executed pandoc -s input.md -o output.htm.