Code block feature in the rich text editor is too unattractive

Operating system

Windows

Joplin version

3.0.13

Editor

Rich Text Editor

What issue do you have?

The default code block feature in the rich text editor is too unattractive. Is there any way to optimize it? For example, with CSS styles or plugins.

You are free to edit the CSS, you should be able to target pre.hljs.

I add it in userstyle.css
pre.hljs {
font-family: Source Code Pro;
font-size: 14px; /* Adjust font size as needed /
color: #333; /
Dark gray text /
border: 1px solid black;
padding: 10px;
margin: 5px;
line-height: 1em; /
Adjust the value as needed */
}

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