adoc

0.1.1 • Public • Published

Adoc

The adoc parser. For more usage, read the unit test.

Quick start

import adoc from 'adoc';
 
let src = `
 
# @title Test
 
# @url /hey
 
## @case
 
### @response
 
- @body Hello World!
 
`;
 
console.log(adoc.parse(src));
 
adoc.compile(src).then((doc) => {
    console.log(doc);
});
 

Readme

Keywords

Package Sidebar

Install

npm i adoc

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • ysmood