mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-10 09:05:55 -05: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));
|
|
})();
|