ptsteadman / hexo-theme-corporate

A professional Hexo theme based on Metronic's "Corporate Frontend" framework.
http://hexotest.computerlab.io
MIT License
186 stars 66 forks source link

Cannot highlight #1

Closed jin-qin closed 8 years ago

jin-qin commented 8 years ago

I've enable highlight in _conifg.yml, but still not work.

ptsteadman commented 8 years ago

Hi, do you mean code highlighting support? I did not add any code highlighting library.

Are you using the code block tag https://hexo.io/docs/tag-plugins.html#Examples-1

I think it would make sense to add support for highlighted code added with the code block tag.

jin-qin commented 8 years ago

Yes, I have just fixed it through added some code highlighting .styl files from theme 'landscape'. Then I can highlight my codes through markdown. For example: '''cpp

include

using namespace std; int main() { return 0; } ''' PS: Your theme is awesome!

ptsteadman commented 8 years ago

Great, feel free to make a Pull Request, would definitely be useful.