Skip to content

Regex for language code block #37

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*/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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