mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
1.0 KiB
1.0 KiB
title, icon, createTime, permalink
| title | icon | createTime | permalink |
|---|---|---|---|
| Replit | simple-icons:replit | 2025/10/08 10:42:05 | /en/guide/code/replit/ |
The theme supports embedding Replit in Markdown files.
Configuration
This feature is disabled by default. You can enable it in the configuration file.
export default defineUserConfig({
theme: plumeTheme({
markdown: {
replit: true, // [!code ++]
},
})
})
Syntax
Basic syntax:
@[replit](user/repl-name)
Extended options:
@[replit title="" width="100%" height="450px" theme="dark"](user/repl-name#filepath)
title: Titlewidth: Container widthheight: Container heighttheme: Theme, options:darkandlightuser: Replit usernamerepl-name: Replit repl namefilepath: Default file path to open in Replit
Examples
Input:
@[replit](@TechPandaPro/Cursor-Hangout#package.json)
Output: