The usage of Markdown ----talk: Indent / LF / parting line / comment / text color

Updated: 2019.09.14

1. Introduction

  Today, nearly 10 breath updated blog (though just before my basic code good content broken down into different chapters Sweating face). Markdown is now an essential part of almost already explained, leaving some of the more fragmented part I'll just put Benpian terms. Further latx syntax for the content, sequence diagrams and flow diagrams, etc., then summarized after update.

2. Indent

  In general, we enter a space in line Markdown editor's first, and will not be indented when displayed. If we want to achieve the effect of first-line indent, to be achieved through the use of html syntax. It is used more than  (full-size space), and  (en space). The former can use two (which uses four) can be achieved indented two spaces.

  终于总结到杂谈
快要结束了

    终于总结到杂谈
快要结束了

The actual results:
  finally summed to-talk
coming to an end

    Finally concluded topics for
coming to an end

3. Wrap

  By default, the Markdown editor by pressing enterthe key has no effect (blog Park is valid), we can only achieve by a blank line segment change.

第一段

第二段

连着来没有效果
连着来没有效果
  • The following is a display of jupyter notebook:
    Jupyter notebook display linefeed

  If we want to achieve the effect of wrap in jupyter notebook, there are mainly two ways:

  • Use html syntax:<br/>
第一行<br/>
第二行
  • More than two spaces plus a carriage return line feed to achieve
第一行  
第二行
  • Both methods achieve the following display:
    Display linefeed

4. parting line

  In order to divide different parts, we sometimes join dividing line, and the dividing line in Markdown There are two main methods:

  1. Html using methods ---> <hr/>(I used this method most)
    display:


  2. Line once every three or more than three asterisks, or underscores even symbols, the dividing line can be represented, which can be separated by spaces and connected between the asterisk symbol. (Blog Park is not supported by some)
***
---
___
* * *
- - -
_____   <!--多个下划线-->
  • The following is a display of jupyter notebook:
    jupyter notebook division line in the display

5. Comment

  If you use annotations in Markdown, you can use html format<!--注释内容-->

6. Change the text size and color

  The default is, Markdown does not support changing the text size, color, and style. You can change the text size and color by the html syntax

$\color{#8B8682}{我的电脑}$
<font size=28 color='##8B8682'>我是有颜色的</font>
<font face='黑体' color='red'>我又变色变形了</font>
  • The actual results:
    \ (\ # 8B8682 Color {} {My computer} \)
    I have colored
    my deformed and discolored

Guess you like

Origin www.cnblogs.com/liangjianli/p/11519770.html