You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the settings, on the `Language specific colors` settings page it is now possible to define colors for languages. These colors will only apply to code blocks with the defined language. If you defined colors for "Python", then those colors will only apply to every Python code block. **If you want to specify colors for code blocks which do not have a language defined, specify `nolang` as a language.**
@@ -167,14 +169,16 @@ First, you have to add a language. Then you can select which color you want to s
167
169
- Header language background color
168
170
- Gutter text color
169
171
- Gutter background color
170
-
- Gutter active line number color
171
-
172
+
- Gutter active line number color
173
+
172
174
An example is shown below, where the background color has been defined for "Python", "JavaScript" and "C++" languages.
**Don't forget to set `Codeblock border styling position`, otherwise border colors will not be displayed!**
179
183
180
184
## Display filename/title
@@ -356,23 +360,23 @@ Explanation:
356
360
357
361
An example using the above shown JSON file, where `tcl` syntax highlighting is applied to `language1` code blocks, using the custom SVG file, and the custom display name:
You can enable bracket highlighting for matching and also for non-matching brackets. If you click next to a bracket (`(,),{,},[,]`), then the bracket itself, and the corresponding opening/closing bracket will be highlighted. You can set individual background, and highlight colors for matching and non-matching brackets:
If you enable selection matching, you can set the background color for the matches to be highlighted with. Simply select a string, or double click on a word, and the same text will be highlighted if found:
>Selection matching (currently) has a limit of 750 matches. If there are more matches than this, then selection matching will not highlight anything. Should you encounter a case where this number is not enough, contact me, and I'll increase it.
0 commit comments