#2514 [ANN] Markdown Parser!

SlimerDude Sat 20 Feb 2016

Markdown Parser Released!

MarkdownParser parses Markdown text into Fandoc objects.

fanr install -r http://eggbox.fantomfactory.org/fanr/ afMarkdownParser

Supported Markdown syntax:

  • Headings
  • Paragraphs
  • Block quotes
  • Lists (ordered and unordered)
  • Links and images
  • Bold and italics
  • Code blocks and code spans

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

Cheatsheet

A cheatsheet of supported markdown syntax:

# Heading 1

## Heading 2

### Heading 3

#### Heading 4

This is *italic* and so is _this_

This is **bold** and so is __this__

These are just * stars * and _ stripes _

This is a `code` span

    Void main() {
        echo("This is a code block")
    }

This is a link to [Fantom-Factory](http://www.fantomfactory.org/)

![Fanny the Fantom Image](http://www.fantomfactory.org/fanny.png)

> This is a block quote. - said Fanny

 * An unordered list
 * An unordered list
 * An unordered list

 1. An ordered list
 1. An ordered list
 1. An ordered list

Have fun!

Login or Signup to reply.