Closed jandob closed 4 years ago
As a quick fix add this to Pandoc.sublime-settings -- User
{
"user":
{
"transformations":
{
"PDF TOC (Narrow margins)":
{
"scope":
{
"text.html": "html",
"text.html.markdown": "markdown+raw_html",
},
"pandoc-arguments": [
"-V", "geometry:margin=1.25in",
"-s", "--toc", "--number-sections",
"-t", "pdf",
],
},
"PDF TOC":
{
"scope":
{
"text.html": "html",
"text.html.markdown": "markdown+raw_html",
},
"pandoc-arguments": [
"-s", "--toc", "--number-sections",
"-t", "pdf",
],
}
}
}
}
Will submit a PR later
@rustybox It works, PR should be a good choice for new users. :-) Thanks!
Thank-you. ST pandoc package worked, then didn't. Found this and added the code to the pandoc user settings and back in business.
Trying to export markdown as pdf with TOC results in error:
PDF TOC
orPDF TOC (Narrow Margins)