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.9k stars 187 forks source link

use vitepress-sandbox to render demos in MD #403

Closed jerrywu001 closed 1 year ago

jerrywu001 commented 1 year 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 1 year ago

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