We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
inserting cpp source code such like
int function( double x ) { return std::floor( x ); }
but unfortunately the output code is not highlighted.
The text was updated successfully, but these errors were encountered:
Hi, it works well on my local machine. Did you add cpp annotation to your markdown?
```cpp // Like this one int function( double x ) { return std::floor( x ); } \```
FYI, you can find supported language shorthand here: http://prismjs.com/#languages-list
If it's still not resolved, feel free to reopen this issue.
Sorry, something went wrong.
@ele828 Thank you very much for your kind reply. I have tried both
```language-cpp //my code ````
and
```cpp //my code ````
but no luck.
In the _config.xml file, I have already set
_config.xml
highlight: enable: false line_number: false auto_detect: false tab_replace:
prism_plugin: mode: 'realtime' theme: 'coy' line_number: true
One of the generated page demonstrating this problem is available at this blog
No branches or pull requests
inserting cpp source code such like
but unfortunately the output code is not highlighted.
The text was updated successfully, but these errors were encountered: