Markdown Parser 0.1.0
Parses Markdown text into Fandoc objects (Internal)

Markdown Parser is a support library that aids Alien-Factory in the development of other libraries, frameworks and applications. Though you are welcome to use it, you may find features are missing and the documentation incomplete.

Parses Markdown text into Fandoc objects.

Supported Markdown syntax:

  • Headings (with anchor links)
  • Paragraphs
  • Block quotes
  • Lists (ordered and unordered)
  • Links and images
  • Bold and italics
  • Code blocks and code spans (normal and Github style)

Markdown Parser uses the extensible Parsing Expression Grammer as provider by Pegger.

Note that this markdown implementation is known to be incomplete. For example, it does not support reference links or backslash escaping * and _ characters. But it should be usable to most casual users.

Read more...

Install

To install Markdown Parser with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install Markdown Parser with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afMarkdownParser.pod (25.16 kB)

Use

To use Markdown Parser in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afMarkdownParser 0.1.0 - 0.1"]

Documentation

Information

Meta information on the Markdown Parser pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
25.16 kB
Licence
ISC
Built on
16th Apr 2020
Source code
via Git at https://github.com/SlimerDude/afMarkdownParser
Depends on
afPegger, fandoc, sys, util
Referenced by
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 7 releases of Markdown Parser: