chore(lint): lint documentation file with prettier

This commit is contained in:
Anda Toshiki 2023-05-22 11:35:58 +08:00
parent be582c6cff
commit acf9fbf179

View File

@ -98,6 +98,7 @@ Then in your scss stylesheets, add the following and link or import them to your
...
```
Next, import your styles globally to take effect,
```scss
@ -126,25 +127,25 @@ to precompile from source scss into normal css styles and use them based on your
```css
.katex {
font-size: 1.05em;
direction: ltr;
font-size: 1.05em;
direction: ltr;
}
.katex-display {
overflow: auto hidden;
-webkit-overflow-scrolling: touch;
padding-top: 0.2em;
padding-bottom: 0.2em;
overflow: auto hidden;
-webkit-overflow-scrolling: touch;
padding-top: 0.2em;
padding-bottom: 0.2em;
}
.katex-display::-webkit-scrollbar {
height: 3px;
height: 3px;
}
.katex-display .katex {
font-size: 1.21em;
font-size: 1.21em;
}
.katex-error {
color: #f00;
color: #f00;
}
```
@ -152,7 +153,7 @@ To be continued.
::: info Reference
- [vuepress-theme-hope/docs/theme/src/.vuepress/components/toggle-rtl-button.scss](https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/docs/theme/src/.vuepress/components/toggle-rtl-button.scss)
- [Toshiki's ChaGPT](https://chat.toshiki.dev)
- [vuepress-theme-hope/docs/theme/src/.vuepress/components/toggle-rtl-button.scss](https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/docs/theme/src/.vuepress/components/toggle-rtl-button.scss)
- [Toshiki's ChaGPT](https://chat.toshiki.dev)
:::