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:
- Few of Emacs help keybindings:
C-h f
,C-h v
Page (Debug)
Page Variable | Value | |
---|---|---|
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://ox-hugo.scripter.co/test/posts/kbd-tag-no/" | |
RelPermalink | "/posts/kbd-tag-no/" | |
Data |
| |
NextPage | Code-fenced source blocks (default behavior) | |
PrevPage | General | |
NextInSection | Code-fenced source blocks (default behavior) | |
PrevInSection | General |
Page Params (Debug)
Key | Type | Value |
---|---|---|
date | time.Time | 2017-07-31 00:00:00 +0000 UTC |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2017-09-22 11:05:12 -0400 -0400 |
publishdate | time.Time | 2017-07-31 00:00:00 +0000 UTC |
tags | []string | "formatting" |
title | string | "Don't Use Org Code markup for kbd tag" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
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" |