fmontesi / commonmark-jolie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

commonmark-jolie

A Jolie library for rendering markdown adhering to the commonmark specification, based on commonmark-java.

Installation

If you have JPM installed:

jpm install @jolie/commonmark

If you do not have JPM installed:

npx @jolie/jpm install @jolie/commonmark

Usage

from @jolie.commonmark import CommonMark

service Main {
  embed CommonMark as commonMark
  
  main {
    render@commonMark( "# Hello!" )( html ) // html == "<h1>Hello!</h1>"
  }
}

About

License:GNU Lesser General Public License v2.1


Languages

Language:Jolie 55.0%Language:Java 45.0%