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

943 B

title, icon, createTime, permalink, badge
title icon createTime permalink badge
AcFun Video lets-icons:video-fill 2025/10/08 10:57:45 /en/guide/embed/video/acfun/ New

Overview

The theme provides the capability to embed AcFun videos.

This feature is powered by vuepress-plugin-md-power.

Configuration

This feature is disabled by default. You need to enable it in the theme configuration.

export default defineUserConfig({
  theme: plumeTheme({
    markdown: {
      acfun: true, // [!code ++]
    },
  })
})

Syntax

Simple syntax:

@[acfun](id)

More options:

@[acfun width="100%" height="400px" ratio="16:9"](id)

Parameter Description:

  • id: Video ID
  • width: Video width
  • height: Video height
  • ratio: Video aspect ratio, defaults to 16:9

Examples

Widescreen Video

Input:

@[acfun](ac47431669)

Output:

@acfun