/ceylon.markdown

A Markdown processor written in Ceylon

Primary LanguageCeylonApache License 2.0Apache-2.0

ceylon.markdown

A Markdown processor written in Ceylon.

Overview

This project contains a Markdown processor written in Ceylon as my project for GSoC 2016. This project will be part of the Ceylon SDK. All of my work in this project can be found here. The Markdown parser is mainly based on the CommonMark spec.

This repository contains 4 Ceylon modules:

  • ceylon.markdown.core - Module that contains the AST classes and parser for Markdown.
  • ceylon.markdown.html - Module to convert Markdown to HTML. This module uses ceylon.html to generate the output HTML.
  • ceylon.markdown.plaintext - Module to convert Markdown to plain text.
  • ceylon.markdown.cli - Contains the command line Markdown tool to generate HTML from a Markdown file.

Using the CLI tool

To use the CLI tool, install it using

ceylon plugin install ceylon.markdown.cli

To be done

  • Sublists are not handled (#1)
  • List item with multiple children does not work (#2)
  • List references after list items do not work (#3)
  • Some js tests do not pass (#4)