Text Editor Ui / Code block

My website is http://www.ricardomoreira.io/
I am trying to edit my markdown editor Ui. I already add the youtube button, but 2 things that I am not able to do are :

  • When I press code block, in the editor shows up good as code, but in the preview or even when I publish is normal. There is any definition I should change?
  • There is a way to change the the color of the text of the body(for example) in the markdown? I tried create a template but also didn’t work that way…

Thank you

Hi @muga, you’ll need to handle rendering the information saved from the code block in your build process. For example, with Gatsby one could use gatsby-remark-prismjs | Gatsby.

As for the second bullet, you can register a custom preview style to change the colour: