aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-23 17:22:41 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-23 17:22:41 +0000
commit5069d1d2b06ce4af2870f955c1b11311d8861891 (patch)
tree8a88bf46d61c6d9132c9f63b00e749f4cbf873fd /src/main
parentwip (diff)
downloadmdrtl-5069d1d2b06ce4af2870f955c1b11311d8861891.tar.gz
mdrtl-5069d1d2b06ce4af2870f955c1b11311d8861891.zip
wip
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/terminaldweller/doc/Md.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/terminaldweller/doc/Md.java b/src/main/java/com/terminaldweller/doc/Md.java
index be0c447..b7399d4 100644
--- a/src/main/java/com/terminaldweller/doc/Md.java
+++ b/src/main/java/com/terminaldweller/doc/Md.java
@@ -13,7 +13,7 @@ public class Md {
* @return the rendered markdown document in html.
*/
public String mdparseService(String markdown) {
- Parser parser = parser.builder().build();
+ Parser parser = Parser.builder().build();
Node document = parser.parse(markdown);
HtmlRenderer renderer = HtmlRenderer.builder().build();
return renderer.render(document);