ZTL-UwU / shadcn-docs-nuxt

Effortless and beautiful docs template built with Nuxt Content & shadcn-vue.
https://shadcn-docs-nuxt.vercel.app/
MIT License
224 stars 37 forks source link

feat: Add Support for video links, pdf viewing and ppt or slides.dev viewing #45

Open aaronlippold opened 3 weeks ago

aaronlippold commented 3 weeks ago

Describe the feature

Given my documentation may have demos, videos showcasing capabilities or even presentations I have given it would be nice to have built in component and perhaps even some page layouts to support that.

Additional information

Ast3risk-ops commented 1 week ago

You can embed powerpoint presentations and PDFs via <iframe> elements (use google to figure out how).

Videos can be added like so:

<!-- You can add on other parameters after controls like autoplay, muted or loop.-->
<video width="320" height="240" controls>
  <!-- Video file can be local or remote (a URL) -->
  <source src="your-video-file.mp4" type="video/mp4">
</video>

Yes, you can use HTML inside Markdown files.