.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 Jan 20, 2022 13:08 UTC.


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

Don't Use Org Code markup for kbd tag

tags: formatting


Description/Summary

Note that to disable the “use code for kbd” option, the value portion of the property needs to be left empty instead of setting to nil! :PROPERTIES: :EXPORT_HUGO_USE_CODE_FOR_KBD: :END: Here ~C-h f~ will show up as `C-h f` in Markdown and then <code>C-h f</code> in the final Hugo generated HTML. Example: Few of Emacs help keybindings: C-h f, C-h v


Content

Note that to disable the “use code for kbd” option, the value portion of the property needs to be left empty instead of setting to nil!

:PROPERTIES:
:EXPORT_HUGO_USE_CODE_FOR_KBD:
:END:

Here ~C-h f~ will show up as `C-h f` in Markdown and then <code>C-h f</code> in the final Hugo generated HTML.

Example:


Page (Debug)

Page VariableValue
Name "Don't Use Org Code markup for kbd tag"
Title "Don't Use Org Code markup for kbd tag"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/kbd-tag-no/"
RelPermalink "/posts/kbd-tag-no/"
Data
page.Data{} (type:page.Data)
NextPageCode-fenced source blocks (default behavior)
PrevPageGeneral
NextInSectionCode-fenced source blocks (default behavior)
PrevInSectionGeneral

Page Params (Debug)

maps.Params{"date":time.Date(2017, time.July, 31, 0, 0, 0, 0, time.UTC), "draft":false, "iscjklanguage":false, "lastmod":time.Date(2017, time.November, 2, 10, 12, 52, 0, time.Location("")), "publishdate":time.Date(2017, time.July, 31, 0, 0, 0, 0, time.UTC), "tags":[]string{"formatting"}, "title":"Don't Use Org Code markup for kbd tag"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "0c1bb56486c2df9f280858bf93a5d4f4"
BaseFileName "kbd-tag-no"
TranslationBaseName "kbd-tag-no"
Lang "en"
Section "posts"
LogicalName "kbd-tag-no.md"
Dir "posts/"
Ext "md"
Path "posts/kbd-tag-no.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.92.0 (commit b3549403) .

[Back to Hugo Sandbox home]