nolebase / integrations

✍️ A collection of diverse documentation engineering tools. Better reading experience, inline link preview, highlight targeted title, enhanced <mark> element, state-of-the-art SEO and <meta> generation, og image, thumbhash & blurhash images and more!
https://nolebase-integrations.ayaka.io
MIT License
158 stars 29 forks source link

feature request: Create a library of VitePress components? #272

Open northword opened 4 months ago

northword commented 4 months ago

People may insert some videos, CodePan, etc. while writing a document, we can provide some components to simplify this process, similar to vuepress-plugin-components?

(Maybe in the @nolebase/ui package, or a separate package?)

related: #271

nekomeowww commented 4 months ago

Short answer: surely we can, and I'd love to have, perhaps you do so.

This is the purpose of @nolebase/ui, basically a set of useful components users can write and embed into documentations. For example the already supported https://nolebase-integrations.ayaka.io/pages/en/ui/asciinema-player/ .

Btw, his is strictly related to #94 and #229. I was hoping to split all of these things separately.

FYI, I was cooking something strangely new and funny during last weeks: https://x.com/ayakaneko/status/1811631761857872324 , for the sake for supporting writing Vue components directly in Obsidian. And I am looking forward to see the future use cases along with my Vue support in Obsidian with the power of Nuxt MDC.

Well even though it's not directly tied to the topic, but the core concept and core implementation is shared and similar, with the power of the support to the components, and Vue writing abilities in Obsidian, both VitePress and Obsidian users could benefit from this. What do you think?

northword commented 4 months ago

Seems good!