Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex for language code block #37

Open
nitnelave opened this issue Mar 23, 2015 · 1 comment
Open

Regex for language code block #37

nitnelave opened this issue Mar 23, 2015 · 1 comment

Comments

@nitnelave
Copy link

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*/
@alexvbush
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants