pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.69k stars 414 forks source link

[BUG] Incorrect Code Block Display in Note #3084

Open mmkbbt opened 2 months ago

mmkbbt commented 2 months ago

When adding a code block with C or C++ code:

```c
#include <stdio.h>
...

Expected behaviour

#include <stdio.h>

Actual behaviour

It is incorrectly rendered in the note as:

#include [stdio.h](file:///home/xxx/Notes/stdio.h)

pbek commented 2 months ago

Yes, it gets interpreted as file link... Almost similar to #2425.

Didn't we already have this, @Waqar144?