ele828 / hexo-prism-plugin

Hexo plugin for code highlighting by prism.js, supporting JSX syntax
204 stars 51 forks source link

Failed to highlight code when contains captions #19

Closed NoahDragon closed 7 years ago

NoahDragon commented 7 years ago

I have encountered the following issue when the code block has a caption, it fails to recognize as a code block. For example the following code block for bash git_commit_source.sh

image

ele828 commented 7 years ago

Fixed #21

sebasgavi commented 6 years ago

I'm still having this issue? should I add something different?

this works: image

this doesn't image

thank you