.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 Oct 05, 2024 21:20 UTC.


This page was created/modified in commit eee5dd4 "Fix underscore escaping" on 2022-01-03.
Markdown source of this page

Sub/superscripts require braces

tags: export-option superscripts subscripts


Description/Summary

By default, ox-hugo implements the ^:{} export option. See C-h v org-export-with-sub-superscripts for details. With this option, the text that needs to be subscripted or superscripted has to be surrounded by braces {..} following the _ or ^. Following text will export _ and ^ verbatim # a_b a_bc a^b a^bc Following text will export _{..} as subscript and ^{..} as superscript # ab abc ab abc


Content

By default, ox-hugo implements the ^:{} export option. See C-h v org-export-with-sub-superscripts for details. With this option, the text that needs to be subscripted or superscripted has to be surrounded by braces {..} following the _ or ^.

Following text will export _ and ^ verbatim #

a_b a_bc a^b a^bc

Following text will export _{..} as subscript and ^{..} as superscript #

ab abc ab abc


Page (Debug)

Page VariableValue
Name "Sub/superscripts require braces"
Title "Sub/superscripts require braces"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/sub-superscripts-require-braces/"
RelPermalink "/posts/sub-superscripts-require-braces/"
Data
page.Data{} (type:page.Data)
NextPageSub/superscripts don't require braces
PrevPageSuppress lastmod non-zero, but date unset
NextInSectionSub/superscripts don't require braces
PrevInSectionSuppress lastmod non-zero, but date unset

Page Params (Debug)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-01-03 16:52:29 -0500 -0500
tags[]string "export-option" "superscripts" "subscripts"
titlestring "Sub/superscripts require braces"

File Object (Debug)

FileInfo VariableValue
UniqueID "0c3b1c4440a214f752f24e1bcd9d615d"
BaseFileName "sub-superscripts-require-braces"
TranslationBaseName "sub-superscripts-require-braces"
Lang "en"
Section "posts"
LogicalName "sub-superscripts-require-braces.md"
Dir "posts/"
Ext "md"
Path "posts/sub-superscripts-require-braces.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]