/GFM-Converter

:zap: Convert Common Markdown into Github Flavored Markdown.

Primary LanguageJavaMIT LicenseMIT

Preview

Introduction

  • Replace [TOC] tag into generated catalogue.
  • Use CodeCogs to display Mathjax formula.
  • Center images.
  • Escape some spacial characters.

Usage

You can just run App.java, and then specify the path of Markdown document. After that, a new file suffixed with .gfm will be generated.

javac -encoding UTF-8 App.java
java App

You can also use below API in your program.

GFM.convert(srcFilePath, detFilePath);