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 Variable | Value | |
---|---|---|
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 |
| |
NextPage | Menu with nested maps | |
PrevPage | Multi-line description set using Org Special Block (TOML) | |
NextInSection | Menu with nested maps | |
PrevInSection | Multi-line description set using Org Special Block (TOML) |
Page Params (Debug)
Key | Type | Value |
---|---|---|
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2017-09-22 11:05:12 -0400 -0400 |
tags | []string | "formatting" |
title | string | "Multi-line bold" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
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" |