Skip to content

Regex for language code block #37

@nitnelave

Description

@nitnelave

Hello,

I often use language named code block, like so:

    ```C
    int a;
    ```

But your plugin doesn't support triple backtick.

A simple way to do that would be to add this line in code.vim:

    syntax region mkdCode    start=/\s*```[^`]*/   end=/[^`]*```\s*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions