Skip to content

Adding syntax highlighter

Louis Schul requested to merge work/syntax_highlight into master

Description :

Add the possibility to use synthax highlighting for code block that use the "fenced" syntax :

    ```
    I'm a block of code
    ```
    ```QML
    I'm a (QML) highlighted block of code
    ```

User can use the following highlighters:

But other could easily be added.

This also expose the backed in styles of the highlighter to the user.

image

This would be considered a "plugin" and is disabled by default.

Edited by Louis Schul

Merge request reports

Loading