.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 Jan 20, 2022 13:08 UTC.


This page was created/modified in commit 669d193 "Copy ox-hugo test site" on 2017-11-02.
Markdown source of this page

General

tags: formatting


Description/Summary

Below table shows the translation of Org markup to Markdown markup in the exported .md files. Org Markdown In Hugo rendered HTML *bold* **bold** bold /italics/ _italics_ italics =monospace= `monospace` monospace ~key-binding~ `key-binding` key-binding - if org-hugo-use-code-for-kbd is nil [default] ~key-binding~ <kbd>key-binding</kbd> - if org-hugo-use-code-for-kbd is non-nil - Requires CSS to render the <kbd> tag as something special.


Content

Below table shows the translation of Org markup to Markdown markup in the exported .md files.

Org Markdown In Hugo rendered HTML
*bold* **bold** bold
/italics/ _italics_ italics
=monospace= `monospace` monospace
~key-binding~ `key-binding` key-binding
- if org-hugo-use-code-for-kbd is nil [default]
~key-binding~ <kbd>key-binding</kbd>
- if org-hugo-use-code-for-kbd is non-nil
- Requires CSS to render the <kbd> tag as something special.
+strike-through+ ~~strike-through~~ strike-through
_underline_ <span class = "underline">underline</span> underline
- Requires CSS to render this underline class as an underline.

Page (Debug)

Page VariableValue
Name "General"
Title "General"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/general-formatting/"
RelPermalink "/posts/general-formatting/"
Data
page.Data{} (type:page.Data)
NextPageDon't Use Org Code markup for kbd tag
PrevPageInline equations
NextInSectionDon't Use Org Code markup for kbd tag
PrevInSectionInline equations

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":"General"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "d7359f7d23af5242e25a3bf01681ad4f"
BaseFileName "general-formatting"
TranslationBaseName "general-formatting"
Lang "en"
Section "posts"
LogicalName "general-formatting.md"
Dir "posts/"
Ext "md"
Path "posts/general-formatting.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.92.0 (commit b3549403) .

[Back to Hugo Sandbox home]