zoukankan      html  css  js  c++  java
  • Markdown的常用方法总结

    1.标题

    # 大标题
    ## 副标题
    ### 小标题
    标准
    

    2.强调

    *斜体类型*
    **黑体字**
    

    3.折叠

    折叠长句

    <details><summary>Boostnote是对应markdown记法的记事本,信息排序・共享的一种工具。</summary>
    - Features - <br>
    · Search function to find memos in one shot
    · Supports markdown notation <br>
    · Support for Mac, Windows, Linux, iOS, Android <br>
    · Export and import to Plain text (.txt), Markdown (.md) format <br>
    · Supports PDF saving <br>
    · Can be used offline <br>
    · Synchronize to dropbox etc. with setting <br>
    · Supports theme colors and numerous fonts <br>
    </details>
    

    4.名单

    * 名单1
    * 名单2
    * 名单3
    

    5.链接

    左侧写文字,右侧放入链接。

    [Boostnote](Boostnote)
    

    6.复选框

    - [x] 任务 1
    - [ ] 任务 2
    

    7.引文

    > 引文
    > 引文引文
    

    8.水平线

    水平线有很多种写法。

    * * *
    ***
    *****
    - - -
    ---------------------------------------
    

    9.嵌入图像

    把图片的标题写在左侧,右侧写下已保存的地方。

    ![嵌入图像](https://boostnote.io/assets/img/logo.png)
    

    10.填写源代码

    对于程序员,可以写代码。

    ``` js
    Render: function () {
    Return (
    <Div className = "commentBox">
    <H1> Comments </ h1>
    <CommentList data = {this.state.data} />
    <CommentForm onCommentSubmit = {this.handleCommentSubmit} />
    </ Div>
    );
    }
    ```
    

    11.表格符号

    表格也易于制作。

    复制并更改为各种各样的东西。

    | 水果     | 价钱 |
    |:-----------|------:|
    | 苹果      | 1$    |
    | 葡萄     | 4$    |
    | 橙子     | 2$    |
    | 柠檬      | 1$    |
    | 桃子      | 3$    | 
    | 瓜      | 20$   |
    

    到这里,就是Markdown最基本的写法。

    Markdown记法不能再普通的记事本中使用。

    记事本需要与Markdown兼容。

    如果可以的话,请您使用一下Boostnote

    用Boostnote的话,附加上上述的基本的markdown记法,以下的描述也可以。

    12.Latex

    可以写数值公式。

    $$$
    mathrm{e}^{mathrm{i}	heta} = cos(	heta) + mathrm{i}sin(	heta)
    $$$
    

    13.Flowchart(流程图)

    可以画流程图

    ``` flowchart
    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
    ```
    

    14.Sequence(序列)

    也可以写序列。

    ``` sequence
    Title: Here is a title
    A-> B: Normal line
    B -> C: Dashed line
    C - >> D: Open arrow
    D - >> A: Dashed open arrow
    ```
    

    以上就是Markdown记法的介绍。

    更多的使用它与周围与众不同。

  • 相关阅读:
    Centos7重置Mysql 8.0.1 root 密码
    MysQL使用一高级应用(下)
    MysQL使用一高级应用(上)
    MysQL使用一查询
    MysQL使用一创建库与表
    OSI七层协议模型、TCP/IP四层模型学习笔记
    python-作用域和装饰器
    python-正则表达式RE
    python-高阶函数和闭包
    python-内置函数及捕获异常
  • 原文地址:https://www.cnblogs.com/dylancao/p/11864171.html
Copyright © 2011-2022 走看看