Skip to content

A list of examples to play with milkdown.

License

Notifications You must be signed in to change notification settings

ningkehua/examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

☝️ Click the menu button to navigate.

examples

A list of examples for milkdown

Frameworks Starter

Examples for different frameworks.

Vanilla Commonmark

Open in StackBlitz

A simple example of using milkdown with vanilla typescript.

React Commonmark

Open in StackBlitz

A simple example of using milkdown with React.

Vue Commonmark

Open in StackBlitz

A simple example of using milkdown with Vue.

Svelte Commonmark

Open in StackBlitz

A simple example of using milkdown with Svelte.

Solid Commonmark

Open in StackBlitz

A simple example of using milkdown with Solid.

Next Commonmark

Open in StackBlitz

A simple example of using milkdown with Next.

Nuxt Commonmark

Open in StackBlitz

A simple example of using milkdown with Nuxt.

Plugin Examples

Example for creating different kinds of plugins.

Vanilla Shiki Highlight

Open in StackBlitz

A simple example for adding shiki highlight for milkdown.

Vanilla Iframe Syntax

Open in StackBlitz

A custom iframe syntax example of using milkdown with vanilla typescript.

Vanilla Collab

Open in StackBlitz

A example for using milkdown with yjs to build a collaborative editor.

Vanilla OpenAI

Open in StackBlitz

A example for using openAI to build a copilot for milkdown editor.

React Custom Component

Open in StackBlitz

A example for using react to render milkdown component.

Vue Custom Component

Open in StackBlitz

A example for using vue to render milkdown component.

React Tooltip

Open in StackBlitz

A example for using react to render tooltip plugin.

Vue Tooltip

Open in StackBlitz

A example for using vue to render tooltip plugin.

React Slash

Open in StackBlitz

A example for using react to render slash plugin.

Vue Slash

Open in StackBlitz

A example for using vue to render slash plugin.

React Block

Open in StackBlitz

A example for using react to render block plugin.

Vue Block

Open in StackBlitz

A example for using vue to render block plugin.

License

MIT

About

A list of examples to play with milkdown.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.3%
  • Vue 15.7%
  • JavaScript 9.2%
  • HTML 6.9%
  • CSS 5.2%
  • Svelte 0.7%