A tool which can transfer markdown to HTML.
Pull from Maven Central Repository:
<dependency>
<groupId>com.youbenzi</groupId>
<artifactId>MDTool</artifactId>
<version>1.2.4</version>
</dependency>
Or download from here.
Usage:
MDTool.markdown2Html(new File(markdown_file_path, charset));
or
MDTool.markdown2Html(markdown_content);
- Easy to use
- Support basic markdwon syntax
- Support table syntax
- Support todo list
- No other jar dependency