blackhole89 / notekit

A GTK3 hierarchical markdown notetaking application with tablet support.
GNU General Public License v3.0
1.44k stars 61 forks source link

Better syntax highlight #127

Closed psydvl closed 2 years ago

psydvl commented 2 years ago

1) I'd like to see Markdown code block even if this language not supported by my system: For example, GitHub trying to do this:

``` example
blablabla
``` example
blablabla

2) Allow spaces between ``` and language word and some text after For example, all next code blocks will be broken, except first

```diff
-a = input()
+b = input()
-a = input()
+b = input()
-a = input()
+b = input()


<details>
<summary>Screenshot</summary>

![image](https://user-images.githubusercontent.com/43755002/180015804-5f78bf02-fd4e-4cc3-bf60-beff4b00cc5e.png)

</details>
blackhole89 commented 2 years ago

I believe this should be more or less done as of commit f0d078195. Thanks for the PR!