{"repo":"pardnchiu/NanoMD","free":true,"listed":false,"github":"https://github.com/pardnchiu/NanoMD","clone":"git clone https://github.com/pardnchiu/NanoMD.git","description":"(package) A pure JavaScript Markdown library with real-time split-screen editing, virtual DOM diffing, and zero-framework lightweight design","language":"JavaScript","stars":23,"topics":["markdown-editor","markdown-parser","markdown","markdown-viewer","pardnchiu","vanilla-javascript","javascript","frontend"],"license":"MIT","category":"productivity","readme_excerpt":"[!NOTE] This README was generated by SKILL, get the ZH version from here. LIGHTWEIGHT MARKDOWN PARSER! NanoMD A pure JavaScript Markdown library with real-time split-screen editing, virtual DOM diffing, and zero-framework lightweight design Table of Contents - Features - Architecture - File Structure - License - Author - Stars Features npm i @pardnchiu/nanomd · Documentation Real-Time Split-Screen Editing and Preview Built-in MDEditor and MDViewer synchronization renders results instantly while writing, with configurable sync scrolling and render delay. Zero-Framework Lightweight Architecture Built entirely on native JavaScript and DOM APIs without React, Vue, or any framework dependency, importable via CDN or npm with minimal bundle size. Three-Component Separation Design MDEditor, MDViewer, and MDParser operate independently — use Parser alone for Markdown-to-HTML conversion or combine editor and viewer for full editing experience. Virtual DOM Diff Algorithm Built-in vDOM diffing compares old and new node trees and patches only the changed parts, minimizing unnecessary DOM operations. Comprehensive Markdown Syntax Support Covers headings, bold, italic, strikethrough, highlight, superscript, subscript, code blocks, tables, lists, blockquotes, checkboxes, and horizontal rules. Mermaid Diagram Rendering Write Mermaid syntax directly in Markdown and get auto-rendered flowcharts, sequence diagrams, and other visualizations in the preview. Hashtag Linking Supports #hashtag syntax","default_branch":null,"files":null,"tree":[],"storefront":"/r/pardnchiu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pardnchiu/NanoMD/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."}