Milkdown
Embeddable editor · Free
A Markdown editor built on ProseMirror with a plugin system: adds formatted input and schema customization for a content interface.
Also known as: milkdown/milkdown; milkdown-framework; milkdown-editor; plugin-driven-markdown-editor

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Add Markdown input with plugins
- Connect formatted editing and Markdown serialization to application content
Example workflow
A possible workflow; this is not a report of hands-on testing.
Add Markdown input with plugins.
Before you start
- The document schema and storage formats.
- A web application and permissions model.
Steps
- Define the Markdown schema and required editor plugins.
- Connect formatted editing and Markdown serialization to application content.
- Check round-trip conversion, pasting, and handling of untrusted content.
Check your result
- The saved document can be restored without losing structure.
- HTML and links are handled safely when displayed.
Choosing Milkdown
Add Markdown input with plugins
Choose this when
- Add Markdown input with plugins
- Connect formatted editing and Markdown serialization to application content
Consider alternatives when
- When choosing for this topic, compare Milkdown with Editor.js. A candidate to compare under the topic: UI components, In-app text editors. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- When choosing for this topic, compare Milkdown with Tiptap. A candidate to compare under the topic: UI components, In-app text editors. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Requirements
- Configure features/featureConfigs and call create after constructing the Crepe instance.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
- AI and TopBar are opt-in; the selected AI provider's terms/cost are not established by this code.
Frequently asked questions
What can you use for free in Milkdown?
Code and local use under MIT.
What additional costs might arise with Milkdown?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for Milkdown?
MIT for the code; dependencies have separate licenses.
How do you get started with Milkdown?
Define the Markdown schema and required editor plugins. Connect formatted editing and Markdown serialization to application content. Check round-trip conversion, pasting, and handling of untrusted content.
How do you control Milkdown Crepe features, and is AI required?
Crepe provides feature flags and separate featureConfigs. Tables, code blocks through CodeMirror, image blocks, slash/block editing, a toolbar, and KaTeX math are enabled in defaultFeatures; TopBar and AI are disabled by default. Constructing a Crepe instance does not create the editor itself: create is required. The AI feature is opt-in and does not imply an included free model provider.
Related tasks and approaches
- Editor.js
A candidate to compare under the topic: UI components, In-app text editors. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- Tiptap
A candidate to compare under the topic: UI components, In-app text editors. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Milkdown
- editor
- Development
Sources
- Official source · github.com
- Official source · raw.githubusercontent.com
- License · raw.githubusercontent.com
- Catalog / discovery source · open-source-tools.com
- Official source · raw.githubusercontent.com
- Official source · raw.githubusercontent.com
- Official source · raw.githubusercontent.com
- Official source · raw.githubusercontent.com