yhatt/marp

Support customize font-family

hoginwang opened this issue · 1 comments

As the system setting, the default font family of Chinese character is a serif font. But a sans-serif font wuold be much better when you are writing header text.

Please support customize font-family!

image

yhatt commented

Duplicated of #246. Already you can use <style> tag to customize CSS in markdown.

<style>
.slide {
  font-family: 'Microsoft YaHei', 'SimHei', sans-serif !important;
}
</style>

# Render in sans-serif font

We recognize issues about font rendering in several languages especially CJK. We are going to support better CJK in Marp Next. To improve official themes, we want feedbacks about Chinese font rendering of Marp Web / Marp CLI.