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

990 B

title, createTime, permalink
title createTime permalink
Markdown Image 2025/10/09 12:06:28 /en/config/plugins/markdown-image/

Overview

Adds additional features for Markdown images.

Related plugin: @vuepress/plugin-markdown-image

Configuration

The plugin does not enable any features by default; you need to enable them manually.

import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'

export default defineUserConfig({
  theme: plumeTheme({
    markdown: {
      image: {
        // Enable figure
        // figure: true,

        // Enable image lazy loading
        // lazyload: true,

        // Enable image marking
        // mark: true,

        // Enable image dimensions
        // size: true,
      }
    },
    // Can also be configured in `plugins.markdownImage`, but not recommended
    plugins: {
      markdownImage: {}
    }
  }),
})