.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 Jun 26, 2022 21:18 UTC.


This page was created/modified in commit 8a433e9 ""Example" Site -> "Test" Site" on 2017-09-22.
Markdown source of this page

Multi-line bold

tags: formatting


Description/Summary

This works fine as the bold sentence does not include a newline. This is a sentence that should render completely in bold. It is broken across multiple lines (in Org source) because of auto-filling. But that should not break the bold rendering. But it does by default. If you do not see the above paragraph completely in bold, have below in your emacs config to fix it: (with-eval-after-load 'org ;; Allow multiple line Org emphasis markup.


Content

This works fine as the bold sentence does not include a newline.

This is a sentence that should render completely in bold. It is broken across multiple lines (in Org source) because of auto-filling. But that should not break the bold rendering. But it does by default.

If you do not see the above paragraph completely in bold, have below in your emacs config to fix it:

(with-eval-after-load 'org
  ;; Allow multiple line Org emphasis markup.
  ;; http://emacs.stackexchange.com/a/13828/115
  (setcar (nthcdr 4 org-emphasis-regexp-components) 20) ;Up to 20 lines, default is just 1
  ;; Below is needed to apply the modified `org-emphasis-regexp-components'
  ;; settings from above.
  (org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components))

Page (Debug)

Page VariableValue
Name "Multi-line bold"
Title "Multi-line bold"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/multi-line-bold/"
RelPermalink "/posts/multi-line-bold/"
Data
page.Data{} (type:page.Data)
NextPageMenu with nested maps
PrevPageMulti-line description set using Org Special Block (TOML)
NextInSectionMenu with nested maps
PrevInSectionMulti-line description set using Org Special Block (TOML)

Page Params (Debug)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-09-22 11:05:12 -0400 -0400
tags[]string "formatting"
titlestring "Multi-line bold"

File Object (Debug)

FileInfo VariableValue
UniqueID "211d715e890ef96b77b541c78502c2d2"
BaseFileName "multi-line-bold"
TranslationBaseName "multi-line-bold"
Lang "en"
Section "posts"
LogicalName "multi-line-bold.md"
Dir "posts/"
Ext "md"
Path "posts/multi-line-bold.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]