目录 0

关于Mdmdt主题

Mdmdt 是 markdown minimalism document theme 的缩写,意为: Markdown极简文档主题 Mdmdt1是深度定制的个性化Typora主题,其目的是打造一个清爽极简的文档样式。

Note

注意:mdmdt.css 文件中包含了亮色和暗色两者主题,会跟随系统模式自动切换亮暗主题。 This is a single line code style

Attention: The MDMDT.CSS file contains both light and dark themes, which will automatically switch between light and dark themes according to the system mode.

文本

这是一段正文内容样式,以下是不同文本样式效果:这是加粗文本样式, 这是下划线样式, 这是斜体字样式, 这是超链接样式: https://github.com/cayxc/mdmdt, This is a single line code style, 这是删除线效果样式, 这是文字高亮效果,上下标样式: LATEX, X2, H2O, 这是鼠标选中效果 , 键盘键样式:Command+Q 🐳 😀 🇨🇳

This is a text content style and the following are the effects of different text styles: This is a bold text style, This is a hyperlink style: https://github.com/cayxc/mdmdt, This is the italic font style, This is the strikethrough effect style, This is the underline style, This is a single line code style, keyboard key style: Command+Q, LATEX X2H2O, This is the text highlighting effect, This is the mouse selection effect 🐳 😀 🇨🇳

数学公式

直接使用公式:

I=0ctrc2t2r202πm2(m+n)dθdr&=0ctrc2t2r2

u(t,x,y)=(3x+y)c2t2+x2(x+y)

u(t,x,y)=12πctr<ctm2(m+n)c2t2r2dmdn

列表

这些是列表样式效果:

  1. 这是有序列表 A

  2. 这是有序列表 B


  1. 这是有序列表 A

  2. 这是有序列表 B

    1. 这是有序列表 A

    2. 这是有序列表 B


这是嵌套列表样式:

  1. 这是有序列表 A

  2. 这是有序列表 B

    • This is Item 1.

    • This is Item 2.

      • Something is Not TODO.

      • Something is DONE.

代码

单行代码样式:composer require --dev barryvdh/laravel-ide-helper

大段代码块样式:

表格样式

Left-AlignedCenter AlignedRight Aligned
This is the first linethis is code some wordy text and some code$160
This is the second linesome code: this is code centered$1200.99
This is the third lineThese are some texts$125.5

引用文本框

Note

This is a Note text box ...... this is code style

This is a Note text box ......

Tip

  • this is code This is a Tip text box ......

  • This is a Tip text box ......

  1. This is itemA

  2. This is itemB

  3. This is itemC

Important

This is a Important text box ......

Warning

This is a Warning text box ......

Caution

this is code This is a Caution text box ......

个性化图文布局

单张图片

 

多图并排

图片的个性化排列使用方式是将图片放到一个容器中,该容器为 <section> 标签,如下所示:

  1. 直接输入<section> 然后回车,如下:

  2. <section> 标签中插入图片,如下:

效果预览



 

多张图其他排列方式

一张大图在左,多张小图在右的图片排列,如下:

效果预览


一张大图在右,多张小图在左的图片排列,如下:

效果预览

 

图文并排

图文的个性化排列使用方式是将图片和文字放到一个容器中,该容器为 <section> 标签,如下所示:

  1. 直接输入 <section> 然后回车,如下:

  2. <section> 标签中插入图片和文字,如下:

效果预览

这是单段文字,文字在右,图片在左,图片和文字各占总宽度的50%的图文并排的样式。

这是单段文字,文字在左,图片在右,图片和文字各占总宽度的50%的图文并排的样式。

这是多段文字...... 这是文字在右,图片在左,图片和文字各占总宽度的50%的图文并排的样式。 这是多段文字......

这是第1列内容
这是图片居中,两边是文字,且两边文字设置相同宽度的样式
这是第3列内容
这是图片居中,两边是文字,且两边文字设置相同宽度的样式

 

 

这是中间是图片,两边是文字的图文样式
需要注意:该列文字内容较多,且未设置宽度。列的宽度比第3列大
这是第3列内容

 


图片和文字,图片设置宽度示例:

效果预览


这是文字在右,图片在左,且设置图片宽度(如图片宽可以设置为:200px)的图文并排的样式。
这是文字在左,图片在右,且设置图片宽度为 200px 的图文并排的样式!

 


Important

注意:

由于图片排列的容器 <section> 采用的是grid布局,会根据 <section> 中有几列和每列里的内容自动分配每一列的宽度。

在进行图片、图片和文字排列时,如果将某一列的宽度设置为 xx%的形式,则该列的实际宽度并不一定是内容区宽度的 xx%,而是 <section> 容器中当前列宽度的 xx%,且当前列的宽度还受到了里面内容的影响。

基于以上原因,建议在单独设置某一列宽度的时候,尽可能采用具体的值(如: style="width: 200px"),不要采用 xx%(如: style="width: 50%")的形式。

示例:

除了以上展示的排列方式,更多的排列形式,还请自行探索 ......

图表Mermaid

以下是 Mermaid图表 部分示例,更多图表类型请参考:Mermaid图表

Link text

One

Two

Hard edge

Round edge

Decision

Result one

Result two

Active

EvNumLockPressed

EvNumLockPressed

NumLockOff

NumLockOn

EvCapsLockPressed

EvCapsLockPressed

CapsLockOff

CapsLockOn

EvScrollLockPressed

EvScrollLockPressed

ScrollLockOff

ScrollLockOn

2014-01-072014-01-092014-01-112014-01-132014-01-152014-01-172014-01-192014-01-212014-01-232014-01-252014-01-27Completed task Completed task in the critical line Implement parser and jison Describe gantt syntax Active task Create tests for parser Add gantt diagram to demo page Add another diagram to demo page Future task Future task in critical line Describe gantt syntax Add gantt diagram to demo page Add another diagram to demo page Future task2 Create tests for renderer Add to mermaid Functionality added A sectionCritical tasksDocumentationLast section Adding GANTT diagram functionality to mermaid

Flowchart

Sequence Diagram

State Diagram

一级标题1

二级标题2

三级标题3

四级标题4

五级标题5
六级标题6

TOC目录

以下是 [TOC] 目录样式