VuePress EcosystemVuePress Ecosystem
  • Theme Guidelines
  • theme-default
  • Hope Theme
  • Plume Theme
  • Reco Theme
  • Feature Plugins
  • Markdown Plugins
  • Search Plugins
  • Blog Plugins
  • PWA Plugins
  • Analytics Plugins
  • SEO Plugins
  • Development Plugins
  • Tool Plugins
  • AI Plugins
  • @vuepress/helper
  • English
  • 简体中文
GitHub
  • Theme Guidelines
  • theme-default
  • Hope Theme
  • Plume Theme
  • Reco Theme
  • Feature Plugins
  • Markdown Plugins
  • Search Plugins
  • Blog Plugins
  • PWA Plugins
  • Analytics Plugins
  • SEO Plugins
  • Development Plugins
  • Tool Plugins
  • AI Plugins
  • @vuepress/helper
  • English
  • 简体中文
GitHub
  • append-date
  • markdown-chart
    • markdown-chart
    • Chart.js
    • ECharts
    • Flowchart
    • Markmap
    • Mermaid
    • PlantUML
  • markdown-container
  • markdown-ext
  • markdown-image
  • markdown-include
  • markdown-hint
  • markdown-math
  • markdown-preview
  • markdown-stylize
  • markdown-tab
  • links-check
  • prismjs
  • revealjs
    • revealjs
    • Slide Demo
    • Reveal.js Themes
  • shiki

append-date

@vuepress/plugin-append-date

This plugin will append writing date to frontmatter based on @vuepress/plugin-git.

Usage

npm i -D @vuepress/plugin-append-date@next
.vuepress/config.ts
import { appendDatePlugin } from '@vuepress/plugin-append-date'

export default {
  plugins: [appendDatePlugin()],
}

Options

key

  • Type: string
  • Default: "date"
  • Details: Frontmatter key to use when appending date

format

  • Type: "date" | "time" | "full"

  • Default: "date"

  • Details:

    Format of the date value when appending date:

    • "date": YYYY-MM-DD format
    • "time": HH:MM:SS format
    • "full": YYYY-MM-DD HH:MM:SS format
Edit this page on GitHub
Last Updated: 6/4/25, 8:24 AM
Contributors: Mister-Hope
Next
markdown-chart