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://hugo-sandbox.netlify.com/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)
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 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" |