From 3b2d5a13fd5243d0f6422ff52eb3a9993eb1a197 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Wed, 4 May 2022 07:59:13 +0200 Subject: MarkdownConverter: Add AbbreviationExtension. Change-Id: Ib718177935b05b35c4be2d9979975c261e774743 --- src/main/java/eu/mulk/mulkcms2/common/markdown/MarkdownConverter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/eu/mulk/mulkcms2/common/markdown/MarkdownConverter.java b/src/main/java/eu/mulk/mulkcms2/common/markdown/MarkdownConverter.java index 75f6c8d..4286e25 100644 --- a/src/main/java/eu/mulk/mulkcms2/common/markdown/MarkdownConverter.java +++ b/src/main/java/eu/mulk/mulkcms2/common/markdown/MarkdownConverter.java @@ -32,7 +32,8 @@ public class MarkdownConverter { AutolinkExtension.create(), DefinitionExtension.create(), TypographicExtension.create(), - FootnoteExtension.create())); + FootnoteExtension.create(), + AbbreviationExtension.create())); options.set(Parser.FENCED_CODE_BLOCK_PARSER, true); options.set(HtmlRenderer.SOFT_BREAK, "\n"); options.set(HtmlRenderer.HARD_BREAK, "
\n"); -- cgit v1.2.3