diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2022-05-04 07:59:13 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2022-05-04 07:59:13 +0200 |
commit | 3b2d5a13fd5243d0f6422ff52eb3a9993eb1a197 (patch) | |
tree | 3c10ae3a34edfbc55007976f9294d897d5e60cd1 /src | |
parent | 64bf1091258477f505bf07939007440f86d33254 (diff) |
MarkdownConverter: Add AbbreviationExtension.
Change-Id: Ib718177935b05b35c4be2d9979975c261e774743
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/mulk/mulkcms2/common/markdown/MarkdownConverter.java | 3 |
1 files changed, 2 insertions, 1 deletions
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, "<br />\n"); |