Skip to content
Discussion options

You must be logged in to vote

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>

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yhatt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants