-
How can I change the general fonts? I do not have any experiments with CSS. this does not work:
|
Beta Was this translation helpful? Give feedback.
Answered by
yhatt
Jun 29, 2023
Replies: 1 comment
-
Your CSS definitions in By removing this line, your style should work well: ---
marp: true
math: katex
size: 16:9
-style: 'style.css'
paginate: true
---
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Photonico
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your CSS definitions in
<style scoped>
are absolutely correct, but it looks like that the wrong usage of style directive makes interrupting to apply inline styles in the whole of Markdown document.By removing this line, your style should work well:
--- marp: true math: katex size: 16:9 -style: 'style.css' paginate: true ---
style
directive must set the content of CSS styles, and cannot specify the file name. Please refer to https://marpit.marp.app/directives?id=tweak-theme-style.