-
Notifications
You must be signed in to change notification settings - Fork 130
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
Inserting backslash at beginning of C++ includes in highlight shortcode #228
Comments
Org doesn't understand the Hugo shortcode syntax. You need to write the code block in Org syntax. How does the below export?
|
I am not at comp, so I haven't tried the above, may be you don't even need those comma escapes on the 2 lines. |
That worked. Just had to set pygmentsCodefences = true in my config file instead of using the shortcode (and the commas are not needed). Thank you! |
ox-hugo can always export to the But I have set the default value of that config to
See this doc page for complete details on Org Source block support in ox-hugo: https://ox-hugo.scripter.co/doc/source-blocks/. |
Exporting
results in
Trying
results in
The text was updated successfully, but these errors were encountered: