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

fix fenced codeBlockStyle problem when codeblock has no className #10

Merged
merged 1 commit into from Mar 18, 2019

Conversation

Projects
None yet
2 participants
@joostory
Copy link
Contributor

joostory commented Mar 9, 2019

<pre><code></code></pre>
    var language =
      new RegExp(r'language-(\S+)').firstMatch(className).group(1) ?? '';

new RegExp(r'language-(\S+)').firstMatch(className) is null. so fix it.

fix fenced codeBlockStyle problem
 when codeblock has no className

@jarontai jarontai merged commit e3fd1bd into jarontai:master Mar 18, 2019

@jarontai

This comment has been minimized.

Copy link
Owner

jarontai commented Mar 18, 2019

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.