Set prism theme for Markdown code?

Is it possible to set the Prism theme for Markdown code blocks?

Possibly by adding your own CSS sheet.

Is there a particular CSS class I need to hook into? Do you know exactly what files are included in DT (css, js)?

Nope. But you could simply export your MD file as HTML in DT and then open that HTML document in (insert your favorite browser here) and inspect it in its developer tools.

That’s a very smart idea. I’ll do just that. Thanks!

An option to consider is to use Marked 2 with DT for your markdown needs.

1 Like