From 675c16c92fd4360bb5620fd6c8135c213dae1a3a Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 1 Oct 2019 16:40:32 -0600 Subject: [PATCH] add support for line-through role --- preview-src/index.adoc | 2 +- src/css/doc.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/preview-src/index.adoc b/preview-src/index.adoc index 094eeda..25df1c1 100644 --- a/preview-src/index.adoc +++ b/preview-src/index.adoc @@ -19,7 +19,7 @@ Curabitur ut massa aliquam, cursus enim et, accumsan lectus. == Cu solet Nominavi luptatum eos, an vim hinc philosophia intellegebat. -Lorem `expetenda` pertinacia et nec, wisi illud [.underline]#sonet# qui ea. +Lorem `expetenda` pertinacia et nec, [.underline]#wisi# illud [.line-through]#sonet# qui ea. Eum an doctus <>. Eu mea inani iriure. diff --git a/src/css/doc.css b/src/css/doc.css index 7453996..91c04c4 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -153,6 +153,10 @@ text-decoration: underline; } +.doc .line-through { + text-decoration: line-through; +} + .doc .paragraph, .doc .dlist, .doc .olist, -- 2.11.0