How can I prevent code highlights in code blocks

Cosmo: 7 March 2022
Joplin version 2.7.13 linux, kubuntu 5.13.0-30 generic

I would like to disable code highlighting for markdown blocks delimited by triple backticks
I believe the solution might be to modify either userstyle or userchrome css files.
Can anyone assist please?

To disable just for specific blocks you can mark the block as plaintext

```plaintext
No highlighting here!
```

Otherwise place the following in your userstyle.css

pre.hljs * {
	color: inherit;
}
2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.