Skip to content

Commit

Permalink
Markdown: Enable flexmark-superscript extension, closes #1268 , chang…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsantner committed Mar 2, 2021
1 parent 08cd0f6 commit f1ce020
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Recent changes
-
- Markdown: Suport superscript^2^ syntax, #1268 by @gsantner

### v2.6 [Blog Post](https://gsantner.net/blog/2021/02/28/markor-v2.6-per-file-settings-zim-wiki-markdown-newline-paragraph.html?source=changelog)
- Markdown: Add settings option for newlines to start new paragraphs, #1260 by @gsantner
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (enable_plugin_kotlin) {
rootProject.ext.version_minSdk = 16

// https://github.com/vsch/flexmark-java/releases
ext.version_library_flexmark = "0.42.10"
ext.version_library_flexmark = "0.42.14"

android {
buildToolsVersion rootProject.ext.version_buildTools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import com.vladsch.flexmark.ext.yaml.front.matter.YamlFrontMatterExtension;
import com.vladsch.flexmark.html.HtmlRenderer;
import com.vladsch.flexmark.parser.Parser;
import com.vladsch.flexmark.superscript.SuperscriptExtension;
import com.vladsch.flexmark.util.builder.Extension;
import com.vladsch.flexmark.util.options.MutableDataSet;

Expand Down Expand Up @@ -102,6 +103,7 @@ public class MarkdownTextConverter extends TextConverter {
InsExtension.create(),
JekyllTagExtension.create(),
JekyllFrontMatterExtension.create(),
SuperscriptExtension.create(), // https://github.com/vsch/flexmark-java/wiki/Extensions#superscript
TablesExtension.create(),
TaskListExtension.create(),
EmojiExtension.create(),
Expand Down

0 comments on commit f1ce020

Please sign in to comment.