博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
markdown-sample.md
阅读量:7280 次
发布时间:2019-06-30

本文共 2582 字,大约阅读时间需要 8 分钟。

Headers

H1

H2

H3

H4

H5
H6

Emphasis

Emphasis, aka italics, with asterisks or underscores.

Strong emphasis, aka bold, with asterisks or underscores.

Combined emphasis with asterisks and underscores.

Strikethrough uses two tildes. Scratch this.

Lists

  1. First ordered list item
  2. Another item
    • Unordered sub-list.
  3. Actual numbers don't matter, just that it's a number
    1. Ordered sub-list
  4. And another item.

    You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).

    To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅

    Note that this line is separate, but within the same paragraph.⋅⋅
    (This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)

  • Unordered list can use asterisks
  • Or minuses
  • Or pluses

Or leave it empty and use the .

URLs and URLs in angle brackets will automatically get turned into links.

or and sometimes
example.com (but not on Github, for example).

Some text to show that the reference links can follow later.

Images

Here's our logo (hover to see the title text):

Inline-style:

alt text

Reference-style:

alt text

Code

body{    margin: 0 auto;    font-family: Georgia, Palatino, serif;    color: #444444;    line-height: 1;    padding: 30px;}

Tables

Colons can be used to align columns.

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

There must be at least 3 dashes separating each header cell.

The outer pipes (|) are optional, and you don't need to make the
raw Markdown line up prettily. You can also use inline Markdown.

Markdown Less Pretty
Still renders nicely
1 2 3

Blockquotes

Blockquotes are very handy in email to emulate reply text.

This line is part of the same quote.
Quote break.

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

Inline HTML

Definition list
Is something people use sometimes.
Markdown in HTML
Does *not* work **very** well. Use HTML
tags.

Horizontal Rule

Three or more...


Hyphens


Asterisks


Underscores

MathJax

Inline math equations go in like so: \(\omega = d\phi / dt\). Display

math should get its own line and be put in in double-dollarsigns:

\[I = \int \rho R^{2} dV\]

And note that you can backslash-escape any punctuation characters

which you wish to be displayed literally, ex.: `foo`, *bar*, etc.

转载于:https://www.cnblogs.com/AbcFly/p/8848177.html

你可能感兴趣的文章
加强IIS安全机制 建立高安全性能Web服务器
查看>>
页面大小和页表项之间有必然的联系么?【转】
查看>>
iOS:Xcode中SVN不能提交CocoaPods中的.a文件的解决方法
查看>>
[ACM_模拟] ZJUT 1155 爱乐大街的门牌号 (规律 长为n的含k个逆序数的最小字典序)...
查看>>
采用dlopen、dlsym、dlclose加载动态链接库【转】
查看>>
iOS:抽屉侧滑动画两种形式(1、UIView侧滑 2、ViewController侧滑)
查看>>
[游戏模版13] Win32 透明贴图 主角移动
查看>>
保护SQL语句不被Sql Profiler / 事件探查器 捕获跟踪到<转>
查看>>
1.7. Synthesizer
查看>>
GIT和SVN比较
查看>>
javascript:getElementsByName td name
查看>>
隐马尔可夫模型(一)——马尔可夫模型
查看>>
ECharts简单入门
查看>>
QComboBox 和 QSpinBox 使用方法
查看>>
shell编程——循环执行
查看>>
操作系统复习笔记(四)
查看>>
经典博客---《数据结构与算法》
查看>>
C#开发微信门户及应用(46)-基于Bootstrap的微信门户应用管理系统功能介绍
查看>>
php访问mysql 封装
查看>>
C#开发微信门户及应用(20)-微信企业号的菜单管理
查看>>