Documentation 1.11.6

[!NOTE] This README was generated by SKILL, get the ZH version from here.


LIGHTWEIGHT MARKDOWN EDITOR IN PURE JAVASCRIPT!

npm Downloads License


NanoMD

A pure JavaScript Markdown library with a synced editor and viewer, a shared parsing pipeline, and Mermaid-ready extended syntax

Table of Contents

Features

npm i @pardnchiu/nanomd · Documentation · Getting Started

Architecture

Full Architecture

graph LR
    User[User input] --> Editor[MDEditor]
    Editor -->|triggers render| Viewer[MDViewer]
    Viewer -->|reads editor text| Trans["transToHTML()"]
    Parser[MDParser] --> Trans
    Editor -->|HTML export| Trans
    Trans --> Funcs[set* transforms]
    Viewer --> Runtime[code-prettify / Mermaid]

License

This project is licensed under the MIT LICENSE.

Author

Just open an issue to share an idea.

NanoMD contributors

©️ 2024 邱敬幃 Pardn Chiu

中文