Nuxt.js 文档网站 - 代码嵌入是如何制作的?

Nuxt.js Docs Website - How are the Code Embeds made?

我对 Nuxt.js 文档网站上的代码嵌入和复制到剪贴板的制作方式很感兴趣。有人知道这些是不是可以通过 npm 安装的组件吗?

或者它们是由下一个开发人员制作的,仅用于在网站上展示?

A Screenshot from the Nuxt Website which shows the specific Element

感谢您的回答。

查看 code on GitHub. They are using @nuxt/content for rendering markdown on their pages. In addition to that they use tailwindcss for the looks and prismjs for the code blocks. You can take a look on their website 了解如何使用棱镜。

有很多关于如何使用内容和棱镜甚至棱镜单独设置 nuxt 的指南。我相信您会找到最适合您的。