-
If there is too much text on a page, then the lines at the bottom are not visible. Is there a way to make the whole page scale, so that no lines are outside the visible screen? I use that: npx @marp-team/marp-cli@latest -w foo.md Does it make sense to switch to marpit? An alternative solution would be to make the build fail, if there is text outside the visible screen. Do you have this issue, too? How do you solve it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Marp does not automatically adjust content when it overflows from a slide. If necessary, you can scale the content by modifying the font size using CSS within Markdown. <style scoped>
section {
font-size: 22px; /* Apply smaller font size to the current slide page */
}
</style> Tthe base font size is different by the theme you are using. ( |
Beta Was this translation helpful? Give feedback.
Marp does not automatically adjust content when it overflows from a slide. If necessary, you can scale the content by modifying the font size using CSS within Markdown.
See also: https://stackoverflow.com/questions/78349602/how-to-specify-fontsize-for-individual-slides-marp/78491421
Tthe base font size is different by the theme you are using. (
default
theme: 29px,gaia
theme: 35px,uncover
theme: 40px) Please adjust the font size to your preference for better appearance.