1. Andy Frank
  2. markdown

Overview

HTTPS SSH

Markdown for Fantom

Markdown for Fantom provides a native Fantom API for converting text formatted in Markdown into HTML. It is backed by the Markdownj Java implementation.

Installing

fanr install -r http://repo.status302.com/fanr/ markdown

API

If you simply want to convert Markdown text to HTML from Fantom, just use the API, which takes the text Str and returns HTML Str:

html := Markdown().markdown(text)

Command Line

The CLI takes a source text file file and writes a target HTML file:

$ fan markdown in.md out.html