Skip to content

Commit

Permalink
修复行间图片格式
Browse files Browse the repository at this point in the history
  • Loading branch information
northword committed May 24, 2024
1 parent 496e97c commit eff6015
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { h } from "vue";
import DefaultTheme from "vitepress/theme";
import "./styles/custom.css";

const tip = h("div", { class: "warning custom-block" }, [
h("p", { class: "custom-block-title" }, "非正式文档页面"),
Expand Down
3 changes: 3 additions & 0 deletions .vitepress/theme/styles/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
img {
display: unset;
}

0 comments on commit eff6015

Please sign in to comment.