mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
990 B
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: {}
}
}),
})