.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | projects | tags | search ]
Hugo Sandbox

This is an unofficial Hugo sandbox site to try to replicate possible bugs in hugo.

It is updated automatically after each commit to the hugo-sandbox repo. It was last updated on Feb 04, 2019 17:56 UTC.


This page was created/modified in commit 669d193 "Copy ox-hugo test site" on 2017-11-02.
Markdown source of this page

Source blocks with highlight shortcode

tags: src-block


Description/Summary

Note that to disable the code fence option, the value portion of the property needs to be left empty instead of setting to nil! :PROPERTIES: :EXPORT_HUGO_CODE_FENCE: :END: Here are few variables that you might like to change in the local.mk: prefix: Org installation directory prefix = /dir/where/you/want/to/install/org # Default: /usr/share The .el files will go to $(prefix)/emacs/site-lisp/org by default. If you’d like to change that, you can tweak the lispdir variable.


Content

Note that to disable the code fence option, the value portion of the property needs to be left empty instead of setting to nil!

:PROPERTIES:
:EXPORT_HUGO_CODE_FENCE:
:END:

Here are few variables that you might like to change in the local.mk:


Page (Debug)

Page VariableValue
Name "Source blocks with highlight shortcode"
Title "Source blocks with highlight shortcode"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/highlight-shortcode-src-blocks/"
RelPermalink "/posts/highlight-shortcode-src-blocks/"
RSSLink ""
Data
KeyTypeValue
Pageshugolib.Pages
NextPageNested lists
PrevPageUse Org Code markup for kbd tag
NextInSectionNested lists
PrevInSectionUse Org Code markup for kbd tag

Page Params (Debug)

KeyTypeValue
datetime.Time 2017-07-31 00:00:00 +0000 UTC
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-11-02 10:12:52 -0400 -0400
publishdatetime.Time 2017-07-31 00:00:00 +0000 UTC
tags[]string "src-block"
titlestring "Source blocks with highlight shortcode"

File Object (Debug)

FileInfo VariableValue
UniqueID "b88ce64d8e58fbf3edd54400af0cca96"
BaseFileName "highlight-shortcode-src-blocks"
TranslationBaseName "highlight-shortcode-src-blocks"
Lang "en"
Section "posts"
LogicalName "highlight-shortcode-src-blocks.md"
Dir "posts/"
Ext "md"
Path "posts/highlight-shortcode-src-blocks.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.54-DEV (commit dff8c199, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]