where I am supposed to define these css classes?
_Originally posted by @Xinzhu-Fang in https://github.com/rstudio/pagedown/issues/50#issuecomment-460910293_
title: "my resume"
output:
pagedown::html_resume
---
<style>
.break-after-me {
break-after: page;
}
</style>
This gives me a warning message MathJax doesn't work with self_contained when not using the rmarkdown "default" template. My resume is messed up
Based on the documentation, it seems like you'd create a separate CSS file and include it in the output format:
output:
pagedown::html_paged:
css: ["custom_css_file.css", "default-fonts", "default-page", "default"]
Thank you. Should read more carefully as always.
In my particular case, I did:
output:
pagedown::html_resume:
css: ["my_custom.css", "resume"]
then it worked.
Most helpful comment
Based on the documentation, it seems like you'd create a separate CSS file and include it in the output format: