Postmark -- A framework for building markdown extensions

2 Likes

src/console/commands/render-command.ts

Line 19:

const { blue } = this.Colors;

This will give TypeError at compile time.

{} in JS/TS means Array.
In the line 19 above, you declare one-dimmensional array, and assign multiple values.

EDIT :: PR sent

{} in JS/TS means Object not Array.

I am using this now: GitHub - xieyuheng/x-markdown: A stable Markdown AST to protect myself from switching upstream parser and upstream API changes.