Skip to content

Allow pandocDelimitedCodeBlockStart at top of file #345

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

Merged
merged 1 commit into from
Oct 24, 2020

Conversation

jez
Copy link
Contributor

@jez jez commented Oct 23, 2020

The regex looking for the start of a codeblock was looking for two
newlines before the triple backticks.

At the start of a file, that doesn't work, but it's still fine for
codeblocks to be there.

The regex looking for the start of a codeblock was looking for two
newlines before the triple backticks.

At the start of a file, that doesn't work, but it's still fine for
codeblocks to be there.
Copy link
Member

@alerque alerque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to contribute! This LGTM (even though I think the entire RegEx based approach is a sinking ship and this is a tiny hull patch).

@alerque alerque merged commit 2521e2e into vim-pandoc:master Oct 24, 2020
@jez jez deleted the jez-code-block-start branch October 24, 2020 07:26
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

Successfully merging this pull request may close these issues.

2 participants