is there a way to customize page style when export to pdf ? #1548
Unanswered
eggcaker
asked this question in
Questions about using Pluto
Replies: 1 comment 1 reply
-
I would suggest editing the Pluto notebook's style with a cell containing html"""
<style>
/* your css style here */
</style>
""" For example I could make the gap between cells much larger with: html"""
<style>
pluto-cell {
margin-bottom: 100px;
}
</style>
""" There's also a package PlutoPDF.jl that will let you export Pluto notebooks to PDFs from the command line. Regarding conditionally showing cells when a notebook is rendered to a PDF, I'm not sure if that's possible at the moment, since rendering to a PDF and rendering to the browser are done the same way. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I plan to using Pluto to write some API document and then export to pdf to my customer, my question is how can I customize the pdf style ,like document width, table style etc. at least exclude some code block when export to pdf but keep in notebook ?
Beta Was this translation helpful? Give feedback.
All reactions