Skip to content

Commit

Permalink
[DOXIA-738] Add Footnote extention for Markdown module
Browse files Browse the repository at this point in the history
This closes #738
  • Loading branch information
Claudenw authored and michael-o committed Aug 16, 2024
1 parent 8509c90 commit 4fe6c91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doxia-modules/doxia-module-markdown/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ under the License.
<artifactId>flexmark-ext-escaped-character</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-footnotes</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-gfm-strikethrough</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import com.vladsch.flexmark.ext.autolink.AutolinkExtension;
import com.vladsch.flexmark.ext.definition.DefinitionExtension;
import com.vladsch.flexmark.ext.escaped.character.EscapedCharacterExtension;
import com.vladsch.flexmark.ext.footnotes.FootnoteExtension;
import com.vladsch.flexmark.ext.gfm.strikethrough.StrikethroughExtension;
import com.vladsch.flexmark.ext.tables.TablesExtension;
import com.vladsch.flexmark.ext.typographic.TypographicExtension;
Expand Down Expand Up @@ -138,6 +139,7 @@ public class MarkdownParser extends AbstractTextParser implements TextMarkup {
TypographicExtension.create(),
TablesExtension.create(),
WikiLinkExtension.create(),
FootnoteExtension.create(),
StrikethroughExtension.create()));

// Disable wrong apostrophe replacement
Expand Down

0 comments on commit 4fe6c91

Please sign in to comment.