node package manager

adoc

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);
});