API Reference esperanto v0.1.0

Modules

BArrier utility module

An interface responsible to stop the walker and also return a new walker with the barrier desotroyed

An barrier that never bar anything

Barrie an walker by ignoring

Barrie an walker by the given :delimiter regex

Utilities functions to parse code

Parser interface

Utility used to match inputs

Create a choice tag with all content between ( ) and

Bold delimited by **

Create a <br /> for each " \n"

Parse code indented with ```

replace the :delimiter with an an empty :tag

Simple enclose the contents between :start_delimiter and :barrier with the enclosing_tag and attrs specified It's possible to surround all siblings together with the surround tag if specified

Parse an image with the format alt

Parse an idented code with 4 space or tab

Parse an idented code with 4 space or tab

Create a choice tag with all content between ( ) and

Parser a link in the format link text

Parse content as a plain text <p>

Top level parser

Walker is used to go through input couting line and columns. Every parser is responsible to walk and leave the walker in the state he can continue