docs: update docs

This commit is contained in:
st1020 2024-01-12 21:49:15 +08:00
parent d7d6e69130
commit 43911ffe82
8 changed files with 315 additions and 140 deletions

View file

@ -1,15 +1,14 @@
+++
title = "Markdown Syntax Guide"
date = "2019-03-11"
date = "2022-10-20"
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
[taxonomies]
tags = ["markdown", "css", "html"]
[extra]
mermaid = true
cover_image = "images/markdown-content.png"
+++
This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows whether basic HTML elements are decorated with CSS in a Zola theme.
This article offers a sample of basic Markdown syntax that can be used in Zola content files, also it shows whether basic HTML elements are decorated with CSS in a Kita theme.
<!--more-->
@ -131,57 +130,3 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
## Mermaid
{% mermaid() %}
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
{% end %}
{% mermaid() %}
```
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
{% end %}
{% mermaid() %}
```mermaid
gitGraph
commit
commit
branch develop
commit
commit
commit
checkout main
commit
commit
```
{% end %}
## Admonition
{% admonition(type="tip", title="Tip") %}
This is a tip.
{% end %}