Chirpy 主题样式大典【转】
本文转自 https://chirpy.cotes.page/posts/text-and-typography/
This post is to show Markdown syntax rendering on Chirpy, you can also use it as an example of writing. Now, let’s start looking at text and typography.
Headings
H1 - heading
{: .mt-4 .mb-0 }
H2 - heading
{: data-toc-skip=” .mt-4 .mb-0 }
H3 - heading
{: data-toc-skip=” .mt-4 .mb-0 }
H4 - heading
{: data-toc-skip=” .mt-4 }
Paragraph
Quisque egestas convallis ipsum, ut sollicitudin risus tincidunt a. Maecenas interdum malesuada egestas. Duis consectetur porta risus, sit amet vulputate urna facilisis ac. Phasellus semper dui non purus ultrices sodales. Aliquam ante lorem, ornare a feugiat ac, finibus nec mauris. Vivamus ut tristique nisi. Sed vel leo vulputate, efficitur risus non, posuere mi. Nullam tincidunt bibendum rutrum. Proin commodo ornare sapien. Vivamus interdum diam sed sapien blandit, sit amet aliquam risus mattis. Nullam arcu turpis, mollis quis laoreet at, placerat id nibh. Suspendisse venenatis eros eros.
Lists
Ordered list
- Firstly
- Secondly
- Thirdly
Unordered list
- Chapter
- Section
- Paragraph
- Section
- Chapter + Section * ParagraphToDo list
- Job
- Step 1
- Step 2
- Step 3
- [ ] Job + [x] Step 1 + [x] Step 2 + [ ] Step 3Description list
Sun : the star around which the earth orbits
Moon : the natural satellite of the earth, visible by reflected light from the sun
Block Quote
This line shows the block quote.
Prompts
An example showing the
tiptype prompt.
An example showing the
infotype prompt.
An example showing the
warningtype prompt.
An example showing the
dangertype prompt.
> An example showing the `tip` type prompt.
> An example showing the `info` type prompt.
> An example showing the `warning` type prompt.
> An example showing the `danger` type prompt.Tables
| Company | Contact | Country |
|---|---|---|
| Alfreds Futterkiste | Maria Anders | Germany |
| Island Trading | Helen Bennett | UK |
| Magazzini Alimentari Riuniti | Giovanni Rovelli | Italy |
Links
Footnote
Click the hook will locate the footnote1, and here is another footnote2.
Inline code
This is an example of Inline Code.
Filepath
Here is the /path/to/the/file.extend{: .filepath}.
Code blocks
Common
This is a common code snippet, without syntax highlight and line number.Specific Language
if [ $? -ne 0 ]; then echo "The command was not successful."; #do the needful / exitfi;Specific filename
@import "colors/light-typography", "colors/dark-typography";{: file=’_sass/jekyll-theme-chirpy.scss’}
Mathematics
The mathematics powered by MathJax:
When , there are two solutions to and they are
Mermaid SVG
Images
Default (with caption)

Left aligned

Float to left

Float to right

Dark/Light mode & Shadow
The image below will toggle dark/light mode based on theme preference, notice it has shadows.


Video
Reverse Footnote
Footnotes
支持与分享
如果这篇文章对你有帮助,欢迎分享给更多人或赞助支持!
无穷大?