.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

Use Org Code markup for kbd tag

tags: formatting


Description/Summary

Here the Org code markup is explicitly specified to be used for <kbd> tag generation by setting EXPORT_HUGO_USE_CODE_FOR_KBD property to t. So ~C-h f~ will show up as <kbd>C-h f</kbd>. Example: Few of Emacs help keybindings: C-h f, C-h v


Content

Here the Org code markup is explicitly specified to be used for <kbd> tag generation by setting EXPORT_HUGO_USE_CODE_FOR_KBD property to t. So ~C-h f~ will show up as <kbd>C-h f</kbd>.

Example:


Page (Debug)

Page VariableValue
Name "Use Org Code markup for kbd tag"
Title "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-yes/"
RelPermalink "/posts/kbd-tag-yes/"
Data
page.Data{} (type:page.Data)
NextPageSource blocks with highlight shortcode
PrevPageUse Org Code markup for kbd tag (default behavior)
NextInSectionSource blocks with highlight shortcode
PrevInSectionUse Org Code markup for kbd tag (default behavior)

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":"Use Org Code markup for kbd tag"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "6f5be4cc4aa8643abf12e1d4c3b7ee81"
BaseFileName "kbd-tag-yes"
TranslationBaseName "kbd-tag-yes"
Lang "en"
Section "posts"
LogicalName "kbd-tag-yes.md"
Dir "posts/"
Ext "md"
Path "posts/kbd-tag-yes.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]