Closed ChristianMurphy closed 3 years ago
const micromark = require("micromark/lib"); const directive = require("micromark-extension-directive"); micromark( "[!]:)", "utf-8", { extensions: [directive()] });
throws
AssertionError [ERR_ASSERTION]: expected non-empty token (`chunkString`)
├── micromark-extension-directive@1.1.0 └── micromark@2.11.2
v15.2.1
7.0.8
run:
No error, or a more specific markdown syntax related error
This is a bug in mm apparently! definitions!
A clearer example is [x]: )
[x]: )
Fixed! Thanks for the wonderful crash reports @ChristianMurphy!
Subject of the issue
throws
Your environment
v15.2.1
, npm7.0.8
Steps to reproduce
run:
Expected behavior
No error, or a more specific markdown syntax related error
Actual behavior