LinusBorg / portal-vue

A feature-rich Portal Plugin for Vue 3, for rendering DOM outside of a component, anywhere in your app or the entire document. (Vue 2 version: v2.portal-vue.linusb.org)
http://portal-vue.linusb.org
MIT License
3.89k stars 188 forks source link

use vitepress-sandbox to render demos in MD #403

Closed jerrywu001 closed 11 months ago

jerrywu001 commented 11 months ago

It is recommended to use vitepress-sandbox-plugin to render demos in MD.

install docs

For example, it is now used by blocknotejs.

Preview screen:

image

Code in md, write:

image

It supports dark automatic

image

LinusBorg commented 11 months ago

Thanks, cool plugin, but I don't think this is needed.