.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Mar 05, 2020 14:18 UTC.


This page was created/modified in commit 69fc62c "Update a test case for a deprecated workaround" on 2017-12-23.
Markdown source of this page

Org Source Block via Pygments

tags: src-block pygments


Description/Summary

This test case is not important after Hugo 0.28 as this was a workaround for a limitation in the Pygments syntax highlighter. Hugo 0.28 onwards, the default syntax highlighter is Chroma, which does not have that limitation, and thus no need for this workaround. 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.


Content

This test case is not important after Hugo 0.28 as this was a workaround for a limitation in the Pygments syntax highlighter. Hugo 0.28 onwards, the default syntax highlighter is Chroma, which does not have that limitation, and thus no need for this workaround.


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 all of the below are true:


Page (Debug)

Page VariableValue
Name "Org Source Block via Pygments"
Title "Org Source Block via Pygments"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/org-source-block-pygments/"
RelPermalink "/posts/org-source-block-pygments/"
Data
page.Data{} (type:page.Data)
NextPageOrg Babel Results
PrevPageOrg TODO keywords with double-underscores
NextInSectionOrg Babel Results
PrevInSectionOrg TODO keywords with double-underscores

Page Params (Debug)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-12-23 12:38:50 -0500 -0500
tags[]string "src-block" "pygments"
titlestring "Org Source Block via Pygments"

File Object (Debug)

FileInfo VariableValue
UniqueID "e273c339b75d6bd054329d10428adda1"
BaseFileName "org-source-block-pygments"
TranslationBaseName "org-source-block-pygments"
Lang "en"
Section "posts"
LogicalName "org-source-block-pygments.md"
Dir "posts/"
Ext "md"
Path "posts/org-source-block-pygments.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.59.0-DEV (commit 5276f1e9, using Chroma commit 26f03cb) .
[Test Site home | ox-hugo home]