11 lines
283 B
JavaScript
11 lines
283 B
JavaScript
const { inspect } = require('util');
|
|
const path = require('path');
|
|
|
|
const { parseMD } = require('../index');
|
|
|
|
(async () => {
|
|
const fullPath = path.resolve(__dirname, './example.md');
|
|
const output = await parseMD(fullPath);
|
|
console.log(inspect(output, null, null, true));
|
|
})();
|