{"repo":"shd101wyy/crossnote","free":true,"listed":false,"github":"https://github.com/shd101wyy/crossnote","clone":"git clone https://github.com/shd101wyy/crossnote.git","description":"Powerful markdown tool","language":"TypeScript","stars":565,"topics":["markdown"],"license":null,"category":"productivity","readme_excerpt":"Crossnote [WIP] Also called as mume before. This library powers: - markdown preview enhanced for vscode API Documentation: https://shd101wyy.github.io/crossnote/ Installation Example Notebook Configuration Visit here to see the documentation. Notebook Local Configuration If your notebook has .crossnote directory, then when you run await Notebook.init , it will automatically create several configuration files in .crossnote directory and load the configurations. markdown yo (Experimental) Crossnote supports an optional high-performance markdown renderer called markdown yo, written in the Yo programming language and compiled to WebAssembly. When enabled, it replaces markdown-it for HTML rendering while markdown-it is still used for token-based operations (backlink extraction, note mention processing, etc.). To enable it, set markdownParser: 'markdown yo' in your notebook config. Performance By default, crossnote uses the WASM build of markdown yo. The WASM module is initialized once per notebook and reused for all subsequent renders. The table below shows steady-state render times (WASM module already loaded) measured on an x86 64 Linux machine, compared to the native binary invoked as a subprocess: Input Size markdown-it WASM (pre-init) Native binary (spawn) ---------- ----------- --------------- --------------------- 60 KB 1.6 ms 1 ms 2 ms 256 KB 6.7 ms 4 ms 3 ms 1 MB 28.8 ms 83 ms 64 ms 18 MB 722 ms 344 ms 246 ms WASM times are measured in-process with a pre-initialized rende","default_branch":null,"files":null,"tree":[],"storefront":"/r/shd101wyy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shd101wyy/crossnote/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}