Skip to content

Add the langPrefix option to the highlight syntax example#309

Open
siakaramalegos wants to merge 1 commit intojonschlinkert:masterfrom
siakaramalegos:patch-1
Open

Add the langPrefix option to the highlight syntax example#309
siakaramalegos wants to merge 1 commit intojonschlinkert:masterfrom
siakaramalegos:patch-1

Conversation

@siakaramalegos
Copy link
Copy Markdown

Per this issue, syntax highlighting with Highlight.js doesn't really work unless that hljs class is applied to the code block, so I figured it was better to put it in the example in the docs since it seems necessary to every implementation.

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.

1 participant