标签:#github

Posts

· 2017-11-20 · * markdown * github * html *

By using Github java api, we can convert our md files to github style htmls easily.

Here is the code in MarkdownService.java:

	/**
	 * Get HTML for given Markdown text
	 * <p>
	 * Use {@link #getRepositoryHtml(IRepositoryIdProvider, String)} if you want
	 * the Markdown scoped to a specific repository.
	 *
	 * @param text
	 * @param mode