You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.0 KiB
1.0 KiB
+++ title = "Org Source Block" tags = ["src-block"] draft = false +++
Test case for the case where user has set
org-hugo-langs-no-descr-in-code-fences to a list containing the
element org.
As this variable is dependent on user's config, this post is not set to be exported by default.
The issue with Hugo will be seen if:
pygmentsCodeFences = trueis set in the Hugo siteconfig.toml,- a source block's language is set to one that's not supported by
Pygments (like org, and thus the below example with source code
language set to
org), and org-hugo-langs-no-descr-in-code-fencesis set to a value not containing that lanaguage descriptor (orgin this case).
# Org comment
Export this post after setting
=org-hugo-langs-no-descr-in-code-fences= to =(org)= and temporarily
removing the =noexport= tag.