.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 Jun 26, 2022 21:18 UTC.


This page was created/modified in commit d04f41a "fix: Auto-escape HTML special chars like <, > when <kbd> wrapping" on 2022-03-21.
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 Test auto-protection of angle brackets: S-<left>


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://ox-hugo.scripter.co/test/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)

KeyTypeValue
datetime.Time 2017-07-31 00:00:00 +0000 UTC
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-03-21 21:37:09 -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.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]