Skip to content

How can I set different fonts for code / main article? #1463

Answered by nunocoracao
ddoddii asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @ddoddii , thanks.
There is no quick way to pull this off and it's very unlikely that any theme will support it. In order to achieve that you will need to override the theme - check Hugo docs - and hack the css for each individual article with specific fonts. Also you can try and leverage tailwind for it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ddoddii
Comment options

@m27387
Comment options

Answer selected by ddoddii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants