功能测试

本文最后更新于 2 年前,文中所描述的信息可能已发生改变。

包含 MarkDown 文件

  • Initial commit
  • :pencil: update content
  • update time: %date% %time% 适用Batch
  • update time: $(date) 适用Shell
bat
@echo off
@REM 如果没有消息后缀,默认提交信息为 "update time: %date% %time%"
set info=%~1
if not defined info set info="update time: %date% %time%"
git add -A
git commit -m "%info%"
git push
sh
#!/bin/bash
# 如果没有消息后缀,默认提交信息为 "update time: $(date)"
info="${1:-update time: $(date)}"
git add -A
git commit -m "$info"
git push

Time Warning

time_warning 默认为 180 天。


y=ax2+bx+c\color{#EE1C25}y = ax^2 + bx + c

爷和流萤
爷和流萤
泳装天依
泳装天依

部分内容加密

md
<!-- valaxy-encrypt-start:sssss -->
### Page Frontmatter
<pre>{{ frontmatter }}</pre>
<!-- valaxy-encrypt-end -->

CODE

ts
import type { ThemeConfig } from 'valaxy-theme-yun'
import { defineValaxyConfig } from 'valaxy'

const safelist = [
  'i-ri-home-line',
]

export default defineValaxyConfig<ThemeConfig>({
  // site config see site.config.ts or write in siteConfig
  // siteConfig: {},

  theme: 'yun',
  themeConfig: {

    banner: {
      enable: true,
      title: '云游君的小站',
    },

    notice: {
      enable: true,
      content: '公告测试',
    },
  },

  unocss: {
    safelist,
  },
})

代码组

sh
npm install vitepress-plugin-group-icons
sh
yarn add vitepress-plugin-group-icons
sh
pnpm add vitepress-plugin-group-icons
sh
bun add vitepress-plugin-group-icons
记第一次 YOLOv8 检测训练
Windows 11 虚拟机