Bug 455561 - Support for Extended Markdown Syntax
Summary: Support for Extended Markdown Syntax
Status: RESOLVED FIXED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-18 17:27 UTC by christian.hollinger2003
Modified: 2023-07-25 18:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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