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:
- Few of Emacs help keybindings: C-h f, C-h v
 - Test auto-protection of angle brackets: S-<left>
 
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| 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 | 
                    
 
 
 
     
  | |
| NextPage | Source blocks with highlight shortcode | |
| PrevPage | Use Org Code markup for kbd tag (default behavior) | |
| NextInSection | Source blocks with highlight shortcode | |
| PrevInSection | Use Org Code markup for kbd tag (default behavior) | 
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 | 2022-03-21 21:37:09 -0400 -0400 | 
| publishdate | time.Time | 2017-07-31 00:00:00 +0000 UTC | 
| tags | []string | "formatting" | 
| title | string | "Use Org Code markup for kbd tag" | 
File Object (Debug)
| FileInfo Variable | Value | 
|---|---|
| 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" |