Markdown专题研究_Span系列 3/4:Emphasis 篇

EMPHASIS



Markdown treats asterisks * and underscores _ as indicators of emphasis.

  • Text wrapped with one * or _ will be wrapped with an HTML < em > tag;
  • double *'s or _'s will be warped with HTML < strong > tag
*single asterisks*

_single underscores_

**double asterisks**

__double underscores__

will produce

single asterisks

single underscores

double asterisks

double underscores

you can use whichever style you prefer.

Notes:

  • use the same character to open and close an emphasis span;
  • emphasis can also be used within a word;
  • if you surround an * or _ with spaces, it will treated as literal asterisk or underscore

你可能感兴趣的:(Markdown专题研究_Span系列 3/4:Emphasis 篇)