Extend syntax highlighting for Markdown in Kate?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1












Is there a plugin/xml file or any way to extend the capability of Kate to highlight Markdown?



I am really comfortable with Kate (using version 15.12.3) and I use it to write logs. For plain-text readibility I use Markdown, since it is a Markup language that (in my opinion) doesn't need compilation to look pretty. However, Markdown-syntax-highlighting helps!



Luckily, Kate supports some basic syntax highlighting, like highlighting headers (when using #), italic (using * or _), indents, inline code (using backticks) and lists (using - or 1. / 2. / ...).



However, some interesting features are missing, e.g. like bold text (using ** or __) highlighting headers in underline style:



h1: my header
=============

h2: my sub header
-----------------


and most importantly for me the syntax highlighting without indent, using backticks:



a syntax block in markdown can be started with indents (4 spaces):

code()

but also with 3 backticks:
```
code()
highlight.me
```

only in the backtick syntax we can use a notation
that some tools convert to language specific highlighting

```
public class HelloWorld
public static void main(String args)
System.out.println("Hello, World");


```


Since I use this in plain-text markdown to write code that I can copy and paste without indents, I'd love if Kate would be able to recognize this as code. So are there syntax highlighting extensions for enhanced Markdown support in Markdown?










share|improve this question

























    up vote
    2
    down vote

    favorite
    1












    Is there a plugin/xml file or any way to extend the capability of Kate to highlight Markdown?



    I am really comfortable with Kate (using version 15.12.3) and I use it to write logs. For plain-text readibility I use Markdown, since it is a Markup language that (in my opinion) doesn't need compilation to look pretty. However, Markdown-syntax-highlighting helps!



    Luckily, Kate supports some basic syntax highlighting, like highlighting headers (when using #), italic (using * or _), indents, inline code (using backticks) and lists (using - or 1. / 2. / ...).



    However, some interesting features are missing, e.g. like bold text (using ** or __) highlighting headers in underline style:



    h1: my header
    =============

    h2: my sub header
    -----------------


    and most importantly for me the syntax highlighting without indent, using backticks:



    a syntax block in markdown can be started with indents (4 spaces):

    code()

    but also with 3 backticks:
    ```
    code()
    highlight.me
    ```

    only in the backtick syntax we can use a notation
    that some tools convert to language specific highlighting

    ```
    public class HelloWorld
    public static void main(String args)
    System.out.println("Hello, World");


    ```


    Since I use this in plain-text markdown to write code that I can copy and paste without indents, I'd love if Kate would be able to recognize this as code. So are there syntax highlighting extensions for enhanced Markdown support in Markdown?










    share|improve this question























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      Is there a plugin/xml file or any way to extend the capability of Kate to highlight Markdown?



      I am really comfortable with Kate (using version 15.12.3) and I use it to write logs. For plain-text readibility I use Markdown, since it is a Markup language that (in my opinion) doesn't need compilation to look pretty. However, Markdown-syntax-highlighting helps!



      Luckily, Kate supports some basic syntax highlighting, like highlighting headers (when using #), italic (using * or _), indents, inline code (using backticks) and lists (using - or 1. / 2. / ...).



      However, some interesting features are missing, e.g. like bold text (using ** or __) highlighting headers in underline style:



      h1: my header
      =============

      h2: my sub header
      -----------------


      and most importantly for me the syntax highlighting without indent, using backticks:



      a syntax block in markdown can be started with indents (4 spaces):

      code()

      but also with 3 backticks:
      ```
      code()
      highlight.me
      ```

      only in the backtick syntax we can use a notation
      that some tools convert to language specific highlighting

      ```
      public class HelloWorld
      public static void main(String args)
      System.out.println("Hello, World");


      ```


      Since I use this in plain-text markdown to write code that I can copy and paste without indents, I'd love if Kate would be able to recognize this as code. So are there syntax highlighting extensions for enhanced Markdown support in Markdown?










      share|improve this question













      Is there a plugin/xml file or any way to extend the capability of Kate to highlight Markdown?



      I am really comfortable with Kate (using version 15.12.3) and I use it to write logs. For plain-text readibility I use Markdown, since it is a Markup language that (in my opinion) doesn't need compilation to look pretty. However, Markdown-syntax-highlighting helps!



      Luckily, Kate supports some basic syntax highlighting, like highlighting headers (when using #), italic (using * or _), indents, inline code (using backticks) and lists (using - or 1. / 2. / ...).



      However, some interesting features are missing, e.g. like bold text (using ** or __) highlighting headers in underline style:



      h1: my header
      =============

      h2: my sub header
      -----------------


      and most importantly for me the syntax highlighting without indent, using backticks:



      a syntax block in markdown can be started with indents (4 spaces):

      code()

      but also with 3 backticks:
      ```
      code()
      highlight.me
      ```

      only in the backtick syntax we can use a notation
      that some tools convert to language specific highlighting

      ```
      public class HelloWorld
      public static void main(String args)
      System.out.println("Hello, World");


      ```


      Since I use this in plain-text markdown to write code that I can copy and paste without indents, I'd love if Kate would be able to recognize this as code. So are there syntax highlighting extensions for enhanced Markdown support in Markdown?







      kate markdown






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 9 '17 at 8:55









      Honeybear

      16810




      16810

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396964%2fextend-syntax-highlighting-for-markdown-in-kate%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396964%2fextend-syntax-highlighting-for-markdown-in-kate%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay