Skip to content

Change Colors in Blog Post #556

Answered by McShelby
AdamFermier asked this question in Q&A
Discussion options

You must be logged in to vote

You can't do this in Markdown and this theme does not contain a shortcode for this.

Markdown is not a replacement for HTML, or even close to it

For this, Markdown provides an escape hatch by allowing the users to write raw HTML. In Hugo you have to activate this by adding the following to your config/hugo.toml:

[markup]
  [markup.goldmark.renderer]
    unsafe = true

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AdamFermier
Comment options

Answer selected by AdamFermier
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