Summary: | Support for syntax highlighted fenced code blocks in Markdown | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | Elvis Stansvik <elvstone> |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | barade.barade, christoph, gszymaszek, simonandric5, zhx |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | A simple patch stub, with support for PHP and Python |
Description
Elvis Stansvik
2015-12-20 23:27:32 UTC
I should add that, should Kate gain a live Markdown preview, which I've heard people ask for, then this wish could almost be thrown in the garbage, since I think it would then be easy to let that live preview be powered by a Markdown formatter that supports fenced code blocks. Created attachment 107453 [details] A simple patch stub, with support for PHP and Python It is possible to switch syntax highlighting as it is done in the attached patch (hopefully without that much repeating). Another interesting solution: https://frinring.wordpress.com/2017/08/21/look-what-you-have-donewwdo/ Please upload patches to https://phabricator.kde.org/differential/diff/create/ *** Bug 389307 has been marked as a duplicate of this bug. *** Relevant Phabricator Diff: https://phabricator.kde.org/D7864 (only PHP and Python supported). Patch was merged, even more languages got added over the last year. |