当前位置: 首页 > news >正文

jekyll chrispy主题的语法

原文博客:https://nosae.top

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

  1. Firstly
  2. Secondly
  3. Thirdly

Unordered list

  • Chapter
    • Section
      • Paragraph

ToDo list

Description 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 tip type prompt.

An example showing the info type prompt.

An example showing the warning type prompt.

An example showing the danger type prompt.

This is a note github alert

This is a tip github alert

This is a warning github alert

This is a caution github alert

Tables

Company Contact Country
Alfreds Futterkiste Maria Anders Germany
Island Trading Helen Bennett UK
Magazzini Alimentari Riuniti Giovanni Rovelli Italy

http://127.0.0.1:4000

Footnote

Click the hook will locate the footnote[1], and here is another footnote[2].

Inline code

This is an example of Inline Code.

Filepath

Here is the /path/to/the/file.extend.

Code blocks

Common

This is a common code snippet, without syntax highlight and line number.

Specific Language

if [ $? -ne 0 ]; thenecho "The command was not successful.";#do the needful / exit
fi;

Specific filename

@import"colors/light-typography","colors/dark-typography";

{: file='_sass/jekyll-theme-chirpy.scss'}

Mathematics

The mathematics powered by MathJax:

\[\begin{equation}\sum_{n=1}^\infty 1/n^2 = \frac{\pi^2}{6}\label{eq:series} \end{equation} \]

We can reference the equation as \eqref{eq:series}.

When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are

\[x = {-b \pm \sqrt{b^2-4ac} \over 2a} \]

Mermaid SVG

gantttitle Adding GANTT diagram functionality to mermaidapple :a, 2017-07-20, 1wbanana :crit, b, 2017-07-23, 1dcherry :active, c, after b a, 1d

Images

Default (with caption)

Desktop View
Full screen width and center alignment

Left aligned

Desktop View

Float to left

Desktop View
Praesent maximus aliquam sapien. Sed vel neque in dolor pulvinar auctor. Maecenas pharetra, sem sit amet interdum posuere, tellus lacus eleifend magna, ac lobortis felis ipsum id sapien. Proin ornare rutrum metus, ac convallis diam volutpat sit amet. Phasellus volutpat, elit sit amet tincidunt mollis, felis mi scelerisque mauris, ut facilisis leo magna accumsan sapien. In rutrum vehicula nisl eget tempor. Nullam maximus ullamcorper libero non maximus. Integer ultricies velit id convallis varius. Praesent eu nisl eu urna finibus ultrices id nec ex. Mauris ac mattis quam. Fusce aliquam est nec sapien bibendum, vitae malesuada ligula condimentum.

Float to right

Desktop View
Praesent maximus aliquam sapien. Sed vel neque in dolor pulvinar auctor. Maecenas pharetra, sem sit amet interdum posuere, tellus lacus eleifend magna, ac lobortis felis ipsum id sapien. Proin ornare rutrum metus, ac convallis diam volutpat sit amet. Phasellus volutpat, elit sit amet tincidunt mollis, felis mi scelerisque mauris, ut facilisis leo magna accumsan sapien. In rutrum vehicula nisl eget tempor. Nullam maximus ullamcorper libero non maximus. Integer ultricies velit id convallis varius. Praesent eu nisl eu urna finibus ultrices id nec ex. Mauris ac mattis quam. Fusce aliquam est nec sapien bibendum, vitae malesuada ligula condimentum.

Dark/Light mode & Shadow

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

light mode only
dark mode only

Video

{% include embed/youtube.html id='Balreaj8Yqs' %}

Reverse Footnote


  1. The footnote source ↩︎

  2. The 2nd footnote source ↩︎

http://www.jsqmd.com/news/399145/

相关文章:

  • MCP彻底改变AI编程方式(附亲测必装工具)
  • golang Context源码阅读
  • 2026年四川头部GEO优化公司有哪些,网络营销/快手代运营/网络推广/新闻营销/网站建设,GEO优化公司怎么选择 - 品牌推荐师
  • 2026年食用面碱市场观察:领先企业产品一览,食用面碱/水产饲料淀粉/小苏打/锅包肉淀粉,食用面碱源头厂家哪家好 - 品牌推荐师
  • 题解:洛谷 1679 神奇的四次方数
  • 单北斗GNSS一体机在变形监测中的应用与客户案例分析
  • Python基于Vue的智慧停车平台 django flask pycharm
  • 题解:洛谷 2737 麦香牛块
  • 随手记
  • Python基于Vue的员工管理系统 django flask pycharm
  • Python基于Vue的在线学习管理系统 django flask pycharm
  • 题解:AcWing 3 完全背包问题
  • 瑞祥商联卡别闲置!新回收渠道来啦 - 京顺回收
  • 2026更新版!10个降AI率网站测评:专科生降AI率必备工具推荐
  • 真心不骗你 9个AI论文写作软件测评:自考毕业论文+开题报告高效工具推荐
  • Python基于Vue的 中小学生辅导平台django flask pycharm
  • 题解:质数和分解
  • 干货合集:AI论文平台 千笔写作工具 VS Checkjie,研究生专属写作神器!
  • 题解:P9265 [PA 2022] Chodzenie po linie
  • 导师又让重写?8个降AIGC工具测评:本科生如何高效降AI率过关?
  • 少走弯路:9个AI论文平台深度测评,研究生毕业论文写作必备工具推荐
  • 《投资-403》价值低估与价值变低,一字之差,含义千差万别,完全相反!前者是机会,后者是陷阱;前者是黄金坑,后者是无底洞!市面上大部分是无底洞,少部分是黄金坑。
  • 2026干冷器选购攻略:口碑与实力并存的厂商,空调机组/表冷器/乏风取热箱/空气幕/工业暖风机,干冷器实力厂家排行 - 品牌推荐师
  • 2025年高位货架厂家排行榜,实力口碑双认证,仓储货架承重/仓库货架摆放标准要求/仓储重型货架品牌排名高位货架源头厂家哪个好 - 品牌推荐师
  • 2025年市面上有名的酒店隔断设计哪家好,办公室隔断墙/办公隔断/自由组合隔断/电控玻璃隔断,酒店隔断定制怎么选择 - 品牌推荐师
  • 小学生兴趣班选购指南:不同目标下的机构推荐与课程分析 - 品牌测评鉴赏家
  • 题解:AcWing 1365 子集的和
  • 孩子想学人工智能:从兴趣启蒙到系统编程的机构与课程全面对比 - 品牌测评鉴赏家
  • 2026无锡紧固件生产厂家推荐,品质铸就品牌,涂胶/螺栓/非标螺丝/紧固件/标准件/螺丝/螺母,紧固件厂家联系方式 - 品牌推荐师
  • Python基于Vue的中医药健康科普信息系统-学习产生积分兑换商品 django flask pycharm