From f68f54ad4be2255a136c56afde1a050b99236f16 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Sat, 30 Jul 2022 18:12:40 +0200 Subject: [PATCH] Add text styles asciidoc was missing --- styles/customAsciidoc.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/styles/customAsciidoc.scss b/styles/customAsciidoc.scss index b0529f0..9cc5354 100644 --- a/styles/customAsciidoc.scss +++ b/styles/customAsciidoc.scss @@ -66,4 +66,15 @@ background-color: #282c34; color: #abb2bf; } + + /* This _should_ have been included in the Asciidoc style but it isn't */ + .underline { text-decoration:underline; } + .overline { text-decoration:overline; } + .line-through { text-decoration:line-through; } + :not(pre)>code.nobreak{ word-wrap:normal; } + :not(pre)>code.nowrap { white-space:nowrap; } + pre.nowrap, pre.nowrap pre { + white-space:pre; + word-wrap:normal; + } } \ No newline at end of file