pengzhanbo 385059f214
docs: update en docs (#708)
* docs: update en docs

* chore: tweak

* chore: tweak

* chore: tweak
2025-10-09 15:46:05 +08:00

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: Title
  • width: Container width
  • height: Container height
  • theme: Theme, options: dark and light
  • user: Replit username
  • repl-name: Replit repl name
  • filepath: Default file path to open in Replit

Examples

Input:

@[replit](@TechPandaPro/Cursor-Hangout#package.json)

Output:

@replit