Markdown 语法快速入门

Markdown 语法快速入门

标题

第一级标题 # 第一级标题
第二级标题 ## 第二级标题
第六级标题 ###### 第六级标题

强调

斜体字*斜体字*
斜体字_斜体字_
加粗**加粗**
斜体字__斜体字__

列表

无序列表:‘*’或者‘+’或者‘-’
有序列表:‘数字’加上'. ',eg. '1. '
任务列表(CSDNMarkdown 引擎貌似不支持):- [ ]

  • [ ]未完成任务
  • [x] 已完成任务

插入链接及图片

插入链接:[名称] + (url)

Eg. Github

插入图片:![名称] + (url)

Kobe Bryant

插入表格

dogbirdcat
foofoofoo
barbarbar
bazbazbaz

代码

|dog | bird | cat|
| ---- | : ------ : | :----: |
| foo | foo  | foo |
| bar | bar  | bar |
| baz | baz  | baz |

代码高亮

单行代码高亮:采用``符号来高亮

Eg. import openmc

多行代码高亮:采用```符号来高亮

Eg.

import openmc
import os

def  create_xs()
    pass

if __init__ == "__main__":
    create_xs()

插入数学公式

Markdown 插入数学公式采用 Latex 语法

  • 单列一行居中显示:
    f(x)=x2+2x+1(5) (5) f ( x ) = x 2 + 2 x + 1
  • 原位插入数学公式: f(x)=x2+2x+1 f ( x ) = x 2 + 2 x + 1

插入流程图

  • Sequence 流程图1

    Created with Raphaël 2.1.2 Here is a title A A B B C C D D Normal line Dashed line Open arrow Dashed open arrow
    ```sequence
    Title: Here is a title
    A->B: Normal line
    B-->C: Dashed line
    C->>D: Open arrow
    D-->>A: Dashed open arrow
     ```
  • Flow 流程图2

    Created with Raphaël 2.1.2 Start My Operation Yes or No? catch something... End My Subroutine yes no
    ``` flow
    st=>start: Start:>http://www.google.com[blank]
    e=>end:>http://www.google.com
    op1=>operation: My Operation
    sub1=>subroutine: My Subroutine
    cond=>condition: Yes
    or No?:>http://www.google.com
    io=>inputoutput: catch something...
    st->op1->cond
    cond(yes)->io->e
    cond(no)->sub1(right)->op1
     ```
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值