aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);