你好Zola
• 由 应律 创作 • 阅读需要 6 分钟注意
这是一篇关于主题的语法示例文档
Markdown语法
基本的语法,如加粗, 斜体, 删除线, 以及 加粗斜体删除线.
在段落之间应该有空行[1]。
一级标题
二级标题
三级标题
四级标题
五级标题
六级标题
这是标题下的一般段落
😭😂🥺🤣❤️✨🙏😍🥰😊
长的单行代码块不应换行。如果它们太长,应该水平滚动。这条线应该足够长以证明这一点。
“原创内容在变老之前只有几秒钟是原创的”
互联网规则第二十一条
- 第一章
- 第二章
- 第2.1节
- 第2.2节
- 第三章
附录
- 执行步骤#1
- 继续执行步骤#2
- 以步骤#3结束
- 胡辣汤
- 油条
- 冰红茶
- 冰糖
- 西瓜
Mare | Rating | Additional info |
---|---|---|
Fluttershy | Best pone | Shy and adorable |
Apple Jack | Good pone | Honest and nice |
Pinkie Pie | Fun pone | Party horn! |
Twilight | Decent pone | Neeerd |
Rainbow Dash | Annoying pone | Looks badass |
Rarity | Fancy pone | Sometimes nice |
let highlight = true;
10 {
12 :;
13 :;
14 }
15 {
17 :;
18 :;
19 }
其他
KaTeX
Duckquill can render LaTeX using the KaTeX library. It can be enabled using the extra.katex
config variable.
$$\relax f(x) = \int_{-\infty}^\infty\hat{f}(\xi),e^{2 \pi i \xi x},d\xi$$
$\relax f(x) = \int_{-\infty}^\infty\hat{f}(\xi),e^{2 \pi i \xi x},d\xi$
短码
Duckquill provides a few useful shortcodes that simplify some tasks. They can be used on all pages.
Alerts
GitHub-style alerts. Simply wrap the text of desired alert inside the shortcode to get the desired look.
Available alert types:
note
: Useful information that users should know, even when skimming content.tip
: Helpful advice for doing things better or more easily.important
: Key information users need to know to achieve their goal.warning
: Urgent info that needs immediate user attention to avoid problems.caution
: Advises about risks or negative outcomes of certain actions.
-> Alert text <-
注意
Useful information that users should know, even when skimming content.
提示
Helpful advice for doing things better or more easily.
重要
Key information users need to know to achieve their goal.
警告
Urgent info that needs immediate user attention to avoid problems.
注意
Advises about risks or negative outcomes of certain actions.
Images and Videos
By default images and videos come with some generic styling, such as rounded corners and shadow. To fine-tune these, you can use shortcodes with different variable combinations.
Available variables are:
url
: URL to an image.url_min
: URL to compressed version of an image, original can be opened by clicking on the image.alt
: Alt text, same as if the text were inside square brackets in Markdown.full
: Forces image to be full-width.full_bleed
: Forces image to fill all the available screen width. Removes shadow, rounded corners and zoom on hover.start
: Float image to the start of paragraph and scale it down.end
: Float image to the end of paragraph and scale it down.pixels
: Uses nearest neighbor algorithm for scaling, useful for keeping pixel-art sharp.transparent
: Removes rounded corners and shadow, useful for images with transparency.no_hover
: Removes zoom on hover.
Alternatively, you can append the following URL anchors. It can be more handy in some cases, e.g. such images will render normally in any Markdown editor, opposed to the Zola shortcodes.
#full
: Forces image to be full-width.#full-bleed
: Forces image to fill all the available screen width. Removes shadow, rounded corners and zoom on hover.#start
: Float image to the start of paragraph and scale it down.#end
: Float image to the end of paragraph and scale it down.#pixels
: Uses nearest neighbor algorithm for scaling, useful for keeping pixel-art sharp.#transparent
: Removes rounded corners and shadow, useful for images with transparency.#no-hover
: Removes zoom on hover.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si aliquod aeternum et infinitum impendere malum nobis opinemur.
For videos it’s all the same except for a few differences: no_hover
and url_min
variables are not available.
CRT
Alright, this one doesn’t simplify anything, it just adds a CRT-like effect around Markdown code blocks.
-> Markdown code block <-
There’s also a cursor
class that you can add to a span with e.g. █
character to simulate the terminal cursor. It doesn’t work from inside Markdown code blocks though.
YouTube
Allows to embed a YouTube video using youtube-nocookie.
Available variables are:
autoplay
: Whether the video should autoplay.start
: On which second video should start.
Vimeo
Allows to embed a Vimeo video.
Available variables are:
autoplay
: Whether the video should autoplay.
Description List (<dl>
)
Something
And its description
- Name
- Godzilla
- Born
- 1952
- Birthplace
- Japan
- Color
- Green
Form Input (<input>
)
Checkbox
With switch
class:
Checkbox
With switch
and big
classes:
Checkbox
With radio
type:
Radio
With color
type:
Color:
With range
type:
Figure Captions (<figcaption>
)
Accordion (<details>
)
Reveal accordion
Get it? I know, it’s an awful pun.
Side Comment (<small>
)
Small, cute text that doesn't catch attention.
Small, cute text that doesn’t catch attention.
Abbreviation (<abbr>
)
ASCII
The ASCII art are awesome!
Aside (<aside>
)
-> Contents here <-
A quill is a writing tool made from a moulted flight feather (preferably a primary wing-feather) of a large bird. Quills were used for writing with ink before the invention of the dip pen, the metal-nibbed pen, the fountain pen, and, eventually, the ballpoint pen.
As with the earlier reed pen (and later dip pen), a quill has no internal ink reservoir and therefore needs to periodically be dipped into an inkwell during writing. The hand-cut goose quill is rarely used as a calligraphy tool anymore because many papers are now derived from wood pulp and would quickly wear a quill down. However it is still the tool of choice for a few scribes who have noted that quills provide an unmatched sharp stroke as well as greater flexibility than a steel pen.
Keyboard Input (<kbd>
)
⌘ Command .
To switch the keyboard layout, press ⌘ Super + Space.
Mark Text (<mark>
)
Marked text
You know what? I’m gonna say some very important stuff, so important that even bold is not enough.
Deleted and Inserted Text (<del>
and <ins>
)
Something deleted Something added
Text deleted Text added
Progress Indicator (<progress>
)
Sample Output (<samp>
)
Sample Output
Sample Output
Inline Quotation (<q>
)
Someone said something
Blah blah Inline Quote
hmm.
Unarticulated Annotation (<u>
)
Gmarrar mitsakes
Yeet the sus drip while vibing with the TikTok fam on a cap-free boomerang.
External Links
External link
Buttons Dialog
飞高高喽
Example
Footnote ↩