你好Zola

• 由 应律 创作 阅读需要 6 分钟

注意

这是一篇关于主题的语法示例文档

Markdown语法

基本的语法,如加粗, 斜体, 删除线, 以及 加粗斜体删除线.

在段落之间应该有空行[1]

一级标题

二级标题

三级标题

四级标题

五级标题
六级标题

这是标题下的一般段落

😭😂🥺🤣❤️✨🙏😍🥰😊

长的单行代码块不应换行。如果它们太长,应该水平滚动。这条线应该足够长以证明这一点。

“原创内容在变老之前只有几秒钟是原创的”

互联网规则第二十一条

  1. 执行步骤#1
  2. 继续执行步骤#2
  3. 以步骤#3结束

公野鸭

MareRatingAdditional info
FluttershyBest poneShy and adorable
Apple JackGood poneHonest and nice
Pinkie PieFun poneParty horn!
TwilightDecent poneNeeerd
Rainbow DashAnnoying poneLooks badass
RarityFancy poneSometimes nice
let highlight = true;
10pre mark {
12 display: block;
13 color: currentcolor;
14}
15pre table td:nth-of-type(1) {
17 color: #6b6b6b;
18 font-style: italic;
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$$

$\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:

{% alert(note=true) %}
-> Alert text <-
{% end %}

注意

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:

{{ image(url="image.png", alt="This is an image" no_hover=true) }}
Portal Gun blueprint
Image with an alt text and without zoom on hover
The gravestone of J.P.G.
Image with compressed version, an alt text, and without 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.


Toolbx header image

Full-width image with an alt text, pixel-art rendering, no shadow and rounded corners, and no zoom on hover

1966 Ford Mustang coupe white 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.


Picture of the magnificent lej da staz just before sunrise in october

For videos it’s all the same except for a few differences: no_hover and url_min variables are not available.

{{ video(url="video.webm", alt="This is a video") }}
WebM video example from MDN
Duckling preening

CRT

Alright, this one doesn’t simplify anything, it just adds a CRT-like effect around Markdown code blocks.

{% crt() %}
-> Markdown code block <-
{% end %}

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:

{{ youtube(id="0Da8ZhKcNKQ") }}

Vimeo

Allows to embed a Vimeo video.

Available variables are:

{{ vimeo(id="869483483") }}

Description List (<dl>)

<dl>
<dt>Something</dt>
<dd>And its description</dd>
</dl>
Name
Godzilla
Born
1952
Birthplace
Japan
Color
Green

Form Input (<input>)

<input type="checkbox" />
<label>Checkbox</label>

With switch class:

<input class="switch" type="checkbox" />
<label>Checkbox</label>

With switch and big classes:

<input class="switch big" type="checkbox" />
<label>Checkbox</label>

With radio type:

<input type="radio" name="test" />
<label>Radio</label>

With color type:

<label>Color:</label>
<input type="color" value="#000000" />

With range type:

<input type="range" max="100" value="33">

Figure Captions (<figcaption>)

<figure>
  -> Whatever content <-
  <figcaption>Caption of content above</figcaption>
</figure>

The Office

The Office where Stanley works, it has yellow floor and beige walls

Accordion (<details>)

<details>
  <summary>Accordion title</summary>
  -> Contents here <-
</details>
Reveal accordion

Get it? I know, it’s an awful pun. Piano Accordion

Side Comment (<small>)

<small>Small, cute text that doesn't catch attention.</small>

Small, cute text that doesn’t catch attention.

Abbreviation (<abbr>)

<abbr title="American Standard Code for Information Interchange">ASCII</abbr>

The ASCII art are awesome!

Aside (<aside>)

<aside>
-> Contents here <-
</aside>

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>)

<kbd>⌘ Command</kbd>.

To switch the keyboard layout, press ⌘ Super + Space.

Mark Text (<mark>)

<mark>Marked text</mark>

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>)

<del>Something deleted</del> <ins>Something added</ins>

Text deleted Text added

Progress Indicator (<progress>)

<progress></progress>
<progress value="33" max="100"></progress>

Sample Output (<samp>)

<samp>Sample Output</samp>

Sample Output

Inline Quotation (<q>)

<q>Someone said something</q>

Blah blah Inline Quote hmm.

Unarticulated Annotation (<u>)

<u>Gmarrar mitsakes</u>

Yeet the sus drip while vibing with the TikTok fam on a cap-free boomerang.

<a class="external" href="https://example.org">External link</a>

Link to site

Buttons Dialog

<div class="dialog-buttons">
  <a class="inline-button" href="#top">飞高高喽</a>
  <a class="inline-button colored external" href="https://example.org">Example</a>
</div>

  1. Footnote


回到顶部创建议题