0.7.3 • Published 4 years ago

maraca-render v0.7.3

Weekly downloads
4
License
MIT
Repository
-
Last release
4 years ago

Maraca-Render for JavaScript / web

The Maraca-Render library for JavaScript / web. Use this to render Maraca output as dynamic HTML.

Install

yarn add maraca-render

or

npm install maraca-render --save

Maraca-Render documentation

Full documentation for working with Maraca data as HTML (via Maraca-Render) can be found at https://maraca-lang.org/app.

Basic Usage

import maraca from 'maraca';
import render from 'maraca-render';

const source = "[style: ['font-weight': bold], Hello World]";

maraca(source, render(document.getElementById('root')));

API

The core API takes a node, and creates a function which can be passed into Maraca, to render the output as HTML inside the provided root node.

render = (node) => ((data) => void);
0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.1

4 years ago

0.4.0

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago