mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 09:16:45 +00:00
chore(lint): lint documentation file with prettier
This commit is contained in:
parent
be582c6cff
commit
acf9fbf179
@ -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,
|
Next, import your styles globally to take effect,
|
||||||
|
|
||||||
```scss
|
```scss
|
||||||
@ -126,25 +127,25 @@ to precompile from source scss into normal css styles and use them based on your
|
|||||||
|
|
||||||
```css
|
```css
|
||||||
.katex {
|
.katex {
|
||||||
font-size: 1.05em;
|
font-size: 1.05em;
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.katex-display {
|
.katex-display {
|
||||||
overflow: auto hidden;
|
overflow: auto hidden;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
padding-top: 0.2em;
|
padding-top: 0.2em;
|
||||||
padding-bottom: 0.2em;
|
padding-bottom: 0.2em;
|
||||||
}
|
}
|
||||||
.katex-display::-webkit-scrollbar {
|
.katex-display::-webkit-scrollbar {
|
||||||
height: 3px;
|
height: 3px;
|
||||||
}
|
}
|
||||||
.katex-display .katex {
|
.katex-display .katex {
|
||||||
font-size: 1.21em;
|
font-size: 1.21em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.katex-error {
|
.katex-error {
|
||||||
color: #f00;
|
color: #f00;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -152,7 +153,7 @@ To be continued.
|
|||||||
|
|
||||||
::: info Reference
|
::: 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)
|
- [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)
|
- [Toshiki's ChaGPT](https://chat.toshiki.dev)
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user