Bug 455561

Summary: Support for Extended Markdown Syntax
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: christian.hollinger2003
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: christoph, jonathan.poelen, walter.von.entferndt
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description christian.hollinger2003 2022-06-18 17:27:06 UTC
Can we get support for extended markdown syntax (https://www.markdownguide.org/extended-syntax/) highlighting and preview? 

P.S. Should I also file a feature request for Okular (to support the preview/printing)?
Comment 1 Bug Janitor Service 2023-07-18 22:55:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/511
Comment 2 Jonathan Poelen 2023-07-18 22:56:58 UTC
For Okular, it is better to make a separate feature request
Comment 3 Christoph Cullmann 2023-07-25 18:28:15 UTC
Git commit 00701c6de4b630d793485a77bdede9357cbb5e99 by Christoph Cullmann, on behalf of Jonathan Poelen.
Committed on 25/07/2023 at 20:28.
Pushed by cullmann into branch 'master'.

Markdown: add Table, Emoji and Highlight Text

- Emoji: `:joy:`, `:+1:`
- Highlight Text: `==very important==`
- Table:
```md
| abc | abc |
| --- | --- |
| abc | abc |
```

Which was not added from the extended syntax:

- Heading IDs: `### My Great Heading {#custom-id}`
- Subscript: `H~2~O`
- Superscript: `X^2^`
- Definition Lists:
```
First Term
: This is the definition of the first term.
```

The rest was already done

M  +14   -1    autotests/folding/test.markdown.fold
M  +14   -1    autotests/html/test.markdown.dark.html
M  +14   -1    autotests/html/test.markdown.html
M  +14   -1    autotests/input/test.markdown
M  +14   -1    autotests/reference/test.markdown.ref
M  +38   -2    data/syntax/markdown.xml

https://invent.kde.org/frameworks/syntax-highlighting/-/commit/00701c6de4b630d793485a77bdede9357cbb5e99