🏠 back to Observable

highligth code in md cell

i look for some hours and can not find …
How to have code highlited in a md cell ?
I want to put in this cell 2 highlited code (as doc purpose) blocks one of html and one of js …
I try md language tag ``` but this doesn’t work …

What i miss


in notetec cell of this notebook …

Maybe use highlightjs, as in https://observablehq.com/@observablehq/how-to-embed-a-notebook-in-a-react-app

You either need to escape the back ticks with back slashes or use tildes for fenced code blocks, as in this suggestion:

1 Like

Oh many thanks for the help this tip will be very usefull !