0.14.0 • Published 7 years ago

koara v0.14.0

Weekly downloads
10
License
Apache-2.0
Repository
github
Last release
7 years ago

Koara

Build Status Coverage Status Npm License

Koara-js

Koara is a modular lightweight markup language. This project is the core koara parser written in Javascript.
If you are interested in converting koara to a specific outputFormat, please look the Related Projects section.

Getting started

  • Download ZIP file
  • Npm

    npm install koara --save-dev
  • Bower

    bower install koara

Usage

  • Node

    var koara = require('koara');
    var parser = new koara.Parser();
    var result1 = parser.parse("Hello World!"); // parse a string
  • Browser

    <!doctype html>
    <html>
      <body>
        <script type="text/javascript" src="koara.min.js"></script>
        <script type="text/javascript">
          var parser = new koara.Parser();
          var result1 = parser.parse("Hello World!"); // parse a string
        </script>
      </body>
    </html>

Configuration

You can configure the Parser:

  • parser.modules
    Default: ["paragraphs", "headings", "lists", "links", "images", "formatting", "blockquotes", "code"]

    Specify which parts of the syntax are allowed to be parsed. The rest will render as plain text.

Related Projects

0.14.0

7 years ago

0.13.0

8 years ago

0.12.0

8 years ago

0.11.0

8 years ago

0.10.0

8 years ago

0.9.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.4

10 years ago

0.5.3

10 years ago

0.5.9

10 years ago

0.5.8

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago