.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

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/"
RSSLink ""
Data
KeyTypeValue
Pageshugolib.Pages
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)

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 "formatting"
titlestring "Use Org Code markup for kbd tag"

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.54-DEV (commit dff8c199, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]