Skip to content

nmtigor/commonmark.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a TS-implementation of CommonMark, developed from the JS-implementation commonmark.js.

This uses a compiling mechanism, i.e., compile while editing. It finds the smallest dirty node, and recompiles that node only, reusing unrelated nodes within the dirty node. So it is very efficient for editing.

unittest

cd /path_to/commonmark.ts/src/test
deno test --allow-read --allow-net # 779 steps

Known issue

Using Deno 2.1.10 causes "segmentation fault" in one-line error message! (#25192)

Downgrading to 1.45.5 (deno upgrade --version 1.45.5) works fine.

About

TS-implementation of CommonMark, efficient for editing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published