mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-24 10:00:52 -04:00
11 lines
299 B
JavaScript
11 lines
299 B
JavaScript
const { inspect } = require('util');
|
|
const path = require('path');
|
|
|
|
const { parsemd } = require('../index');
|
|
|
|
(async () => {
|
|
const fullPath = path.resolve(__dirname, '../__fixtures__/realistic.md');
|
|
const output = await parsemd(fullPath);
|
|
console.log(inspect(output, null, null, true));
|
|
})();
|