README 语法编写
推荐一个超棒的软件 haroopad
Standard Markdown
- \ backslash
- ` backtick
- * asterisk
- _ underscore
- {} curly braces
- [] square brackets
- () parentheses
- # hash mark
- + plus sign
- - minus sign (hyphen)
- . dot
- ! exclamation mark
- \ backslash
- ` backtick
- * asterisk
- _ underscore
- {} curly braces
- [] square brackets
- () parentheses
- # hash mark
- + plus sign
- - minus sign (hyphen)
- . dot
- ! exclamation mark
HEADERS
This is an H1
=============
This is an H2
-------------
Any number of underlining =’s or -’s will work.
# This is an H1
## This is an H2
###### This is an H6
This is an H1 ============= This is an H2 -------------
Any number of underlining =’s or -’s will work.
# This is an H1 ## This is an H2 ###### This is an H6
BLOCKQUOTES
> This is the first level of quoting.
>
> > This is nested blockquote.
>
> Back to the first level.
Blockquotes can contain other Markdown elements, including headers, lists, and code blocks:
> ## This is a header.
>
> 1. This is the first list item.
> 2. This is the second list item.
>
> Here's some example code:
>
> return shell_exec("echo $input | $markdown_script");
> This is the first level of quoting. > > > This is nested blockquote. > > Back to the first level.
Blockquotes can contain other Markdown elements, including headers, lists, and code blocks:
> ## This is a header.
>
> 1. This is the first list item.
> 2. This is the second list item.
>
> Here's some example code:
>
> return shell_exec("echo $input | $markdown_script");
LISTS
* Red
* Green
* Blue
is equivalent to:
+ Red
+ Green
+ Blue
and:
- Red
- Green
- Blue
Ordered lists use numbers followed by periods:
1. Bird
2. McHale
3. Parish
* Red * Green * Blue
is equivalent to:
+ Red + Green + Blue
and:
- Red - Green - Blue
Ordered lists use numbers followed by periods:
1. Bird 2. McHale 3. Parish
CODE BLOCKS
This is a normal paragraph:
This is a code block.
One level of indentation — 4 spaces or 1 tab — is removed from each line of the code block. For example, this:
Here is an example of AppleScript:
tell application "Foo"
beep
end tell
This is a normal paragraph:
This is a code block.
One level of indentation — 4 spaces or 1 tab — is removed from each line of the code block. For example, this:
Here is an example of AppleScript:
tell application "Foo"
beep
end tell
HORIZONTAL RULES
* * *
***
*****
- - -
---------------------------------------
* * * *** ***** - - - ---------------------------------------
LINKS
This is [an example](http://example.com/ "Title") inline link.
[This link](http://example.net/) has no title attribute.
Here’s an example of reference links in action:
I get 10 times more traffic from [Google][] than from
[Yahoo][] or [MSN][].
This is [an example](http://example.com/ "Title") inline link. [This link](http://example.net/) has no title attribute.
Here’s an example of reference links in action:
I get 10 times more traffic from [Google][] than from [Yahoo][] or [MSN][].
EMPHASIS
*single asterisks*
_single underscores_ (not support in haroopad)
**double asterisks**
__double underscores__
*single asterisks* _single underscores_ (not support in haroopad) **double asterisks** __double underscores__
CODE
Use the `printf()` function.
Use the printf() function.
Use the `printf()` function.
Use the printf() function.
IMAGES


![Alt text][id]
  ![Alt text][id]
Contact to <example@example.com>.
Contact to example@example.com.
Contact to <example@example.com>.
Contact to example@example.com.
Github Flavored Markdown
Newlines
The next paragraph contains two phrases separated by a single newline character
Haroopad
The next document processor
Haroopad
The next document processor
The next paragraph contains two phrases separated by a single newline character
Haroopad The next document processor
Haroopad
The next document processor
Multiple underscores in words
It is not reasonable to italicize just part of a word, especially when you're dealing with code and names often appear with multiple underscores. Therefore, GFM ignores multiple underscores in words.
perform_complicated_task
do_this_and_do_that_and_another_thing
perform_complicated_task do_this_and_do_that_and_another_thing
It is not reasonable to italicize just part of a word, especially when you're dealing with code and names often appear with multiple underscores. Therefore, GFM ignores multiple underscores in words.
perform_complicated_task do_this_and_do_that_and_another_thing
perform_complicated_task do_this_and_do_that_and_another_thing
URL autolinking
GFM will autolink standard URLs, so if you want to link to a URL (instead of setting link text), you can simply enter the URL and it will be turned into a link to that URL.
GFM will autolink standard URLs, so if you want to link to a URL (instead of setting link text), you can simply enter the URL and it will be turned into a link to that URL.
Table
Tables aren't part of the core Markdown spec, but they are part of GFM and Markdown Here supports them.
Colons(:) can be used to align columns.
Left : |:------| Right : |------:| Center : |:-----:|
| name | age | gender | money |
|-------|:---:|-----------|-------:|
| rhio | 384 | robot | $3,000 |
| haroo | .3 | bird | $430 |
| jedi | ? | undefined | $0 |
name
age
gender
money
rhio
384
robot
$3,000
haroo
.3
bird
$430
jedi
?
undefined
$0
Tables aren't part of the core Markdown spec, but they are part of GFM and Markdown Here supports them.
Colons(:) can be used to align columns.
Left : |:------| Right : |------:| Center : |:-----:|
| name | age | gender | money | |-------|:---:|-----------|-------:| | rhio | 384 | robot | $3,000 | | haroo | .3 | bird | $430 | | jedi | ? | undefined | $0 |
| name | age | gender | money |
|---|---|---|---|
| rhio | 384 | robot | $3,000 |
| haroo | .3 | bird | $430 |
| jedi | ? | undefined | $0 |
Fenced code blocks
Markdown converts text with four spaces at the front of each line to code blocks. GFM supports that, but we also support fenced blocks. Just wrap your code blocks in ``` and you won't need to indent manually to trigger a code block. Keep in mind that both types of code blocks need to have a blank line before them:
Here's an example:
function test() {
console.log("notice the blank line before this function?");
}
Markdown converts text with four spaces at the front of each line to code blocks. GFM supports that, but we also support fenced blocks. Just wrap your code blocks in ``` and you won't need to indent manually to trigger a code block. Keep in mind that both types of code blocks need to have a blank line before them:
Here's an example:
function test() {
console.log("notice the blank line before this function?");
}
Syntax highlighting
We take code blocks a step further and add syntax highlighting if you request it. In your fenced block, add an optional language identifier and we'll run it through syntax highlighting. For example, to syntax highlight Ruby code:
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
We take code blocks a step further and add syntax highlighting if you request it. In your fenced block, add an optional language identifier and we'll run it through syntax highlighting. For example, to syntax highlight Ruby code:
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
Table of Contents
A table of contents, usually headed simply "Contents" and abbreviated informally as TOC, is a list of the parts of a book or document organized in the order in which the parts appear.
It will generate a table of content that you can insert [TOC] at the top of your markdown file.
[TOC]
# Header 1
Content 1
## Header 2
Content 2
example
[TOC]
A table of contents, usually headed simply "Contents" and abbreviated informally as TOC, is a list of the parts of a book or document organized in the order in which the parts appear.
It will generate a table of content that you can insert [TOC] at the top of your markdown file.
[TOC] # Header 1 Content 1 ## Header 2 Content 2
example
[TOC]
Extras (only haroopad)
Experimental since v0.6.0
Experimental since v0.6.0
Highlight
Highlight (and highlights, highlighting, etc.) may refer to:
Syntax ==highlighting==, **display of text** in different colors and/or fonts, depending upon its meaning in context (e.g. different parts of speech in a sentence, or ==function== vs. ==variables names== in computer source code)
Syntax ==highlighting==, display of text in different colors and/or fonts, depending upon its meaning in context (e.g. different parts of speech in a sentence, or ==function== vs. ==variables names== in computer source code)
Highlight (and highlights, highlighting, etc.) may refer to:
Syntax ==highlighting==, **display of text** in different colors and/or fonts, depending upon its meaning in context (e.g. different parts of speech in a sentence, or ==function== vs. ==variables names== in computer source code)
Syntax ==highlighting==, display of text in different colors and/or fonts, depending upon its meaning in context (e.g. different parts of speech in a sentence, or ==function== vs. ==variables names== in computer source code)
Underline
An ++underline++, also called an underscore is one or more horizontal lines immediately below a portion of writing.
An ++underline++, also called an underscore is one or more ++horizontal lines++ immediately below a portion of writing.
An ++underline++, also called an underscore is one or more horizontal lines immediately below a portion of writing.
An ++underline++, also called an underscore is one or more ++horizontal lines++ immediately below a portion of writing.
Embedding
웹 문서를 작성하다 보면 비디오, 음악을 포함한 다양한 온라인 콘텐츠를 이용하기 마련이다. 이에 경량의 문법을 이용하는 마크다운의 특성을 유지하고 기존의 마크다운 사용자 경험에 크게 벗어나지 않으며 강력한 웹 콘텐츠를 문서내에 쉽게 추가할 수 있도록 새로운 문법을 추가하였다.
@[Vimeo Video](https://vimeo.com/70762354 'float:left;width:400px')
**Haroopad** is a markdown enabled document processor for creating web-friendly documents.
You can author professional-looking documents of various formats: blog posts, slides, presentations, reports, email and more.
Haroopad gives you the same editing experience regardless of the platform you are working on. It runs on all three major operating systems—Windows, Mac OS X, and Linux.

Haroopad is a markdown enabled document processor for creating web-friendly documents.
You can author professional-looking documents of various formats: blog posts, slides, presentations, reports, email and more.
Haroopad gives you the same editing experience regardless of the platform you are working on. It runs on all three major operating systems—Windows, Mac OS X, and Linux.

웹 문서를 작성하다 보면 비디오, 음악을 포함한 다양한 온라인 콘텐츠를 이용하기 마련이다. 이에 경량의 문법을 이용하는 마크다운의 특성을 유지하고 기존의 마크다운 사용자 경험에 크게 벗어나지 않으며 강력한 웹 콘텐츠를 문서내에 쉽게 추가할 수 있도록 새로운 문법을 추가하였다.
@[Vimeo Video](https://vimeo.com/70762354 'float:left;width:400px') **Haroopad** is a markdown enabled document processor for creating web-friendly documents. You can author professional-looking documents of various formats: blog posts, slides, presentations, reports, email and more. Haroopad gives you the same editing experience regardless of the platform you are working on. It runs on all three major operating systems—Windows, Mac OS X, and Linux. 
Haroopad is a markdown enabled document processor for creating web-friendly documents.
You can author professional-looking documents of various formats: blog posts, slides, presentations, reports, email and more.
Haroopad gives you the same editing experience regardless of the platform you are working on. It runs on all three major operating systems—Windows, Mac OS X, and Linux.

Mathematics Expression
Haroopad uses MathJax to render LaTeX. You can use triple dollar sign ($$$..$$$) to delimit inline equations, and double dollars ($$..$$) for blocks
example
The *Gamma function* satisfying $\Gamma(n) = (n-1)!\quad\forall
n\in\mathbb N$ is via through the Euler integral
$$
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
$$
become
The Gamma function satisfying $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$ is via through the Euler integral
$$ \Gamma(z) = \int_0\infty t{z-1}e{-t}dt\,. $$
Haroopad uses MathJax to render LaTeX. You can use triple dollar sign ($$$..$$$) to delimit inline equations, and double dollars ($$..$$) for blocks
example
The *Gamma function* satisfying $\Gamma(n) = (n-1)!\quad\forall
n\in\mathbb N$ is via through the Euler integral
$$
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
$$
become
The Gamma function satisfying $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$ is via through the Euler integral
$$ \Gamma(z) = \int_0\infty t{z-1}e{-t}dt\,. $$
Diagram
This statement helps to render the flow charts and diagrams to extend the fence code block.
Just write the mermaid grammar in the fenced code block, as in the example below.
You get the detail - Click Here
example
```mermaid
graph TD;
A-->B;
A-->D;
B-->C;
D-->C;
**become**
```mermaid
graph TD;
A-->B;
A-->D;
B-->C;
D-->C;
This statement helps to render the flow charts and diagrams to extend the fence code block.
Just write the mermaid grammar in the fenced code block, as in the example below.
You get the detail - Click Here
example
```mermaid graph TD; A-->B; A-->D; B-->C; D-->C;
**become** ```mermaid graph TD; A-->B; A-->D; B-->C; D-->C;
Tasklist
So that it can be represented as a checkbox item GFM statement. This statement is useful when you create the TODO or Checklist.
example
- [ ] first task
- [x] second task is done
- [ ] third task
- first task
- second task is done
- third task
So that it can be represented as a checkbox item GFM statement. This statement is useful when you create the TODO or Checklist.
example
- [ ] first task - [x] second task is done - [ ] third task
- first task
- second task is done
- third task
Presentation
Just insert *** or --- separator to separate each slide.
example
## slide1 title slide2 content *** ## slide2 title slide2 content
README 语法编写的更多相关文章
- CSDN-markdown语法之怎样使用LaTeX语法编写数学公式
文件夹 文件夹 正文 标记公式 行内公式 块级公式 上标和下标 分数表示 各种括号 根号表示 省略号 矢量表示 间隔空间 希腊字母 特殊字符 关系运算符 集合运算符 对数运算符 三角运算符 微积分运算 ...
- markdown语法之如何使用LaTeX语法编写数学公式
CSDN-markdown语法之如何使用LaTeX语法编写数学公式 目录 目录 正文 标记公式 行内公式 块级公式 上标和下标 分数表示 各种括号 根号表示 省略号 矢量表示 间隔空间 希腊字母 特殊 ...
- GitHub上README.md编写教程(基本语法)
一.标题写法: 第一种方法: 1.在文本下面加上 等于号 = ,那么上方的文本就变成了大标题.等于号的个数无限制,但一定要大于0个哦.. 2.在文本下面加上 下划线 - ,那么上方的文本就变成了中标题 ...
- Github readme语法-- markdown
README 该文件用来测试和展示书写README的各种markdown语法.GitHub的markdown语法在标准的markdown语法基础上做了扩充,称之为GitHub Flavored Mar ...
- readme 语法
README =========================== 该文件用来测试和展示书写README的各种markdown语法.GitHub的markdown语法在标准的markdown语法基础 ...
- README.md 编写
Spring Boot Demo =========================== 该文件用来测试和展示书写README的各种markdown语法.GitHub的markdown语法在标准的ma ...
- 使用 Typora 编辑器运用 Markdown 的语法编写文档
Markdown 介绍 Markdown 是一种轻量级标记语言,它允许人们使用易读易写的纯文本格式编写文档. Markdown 语言在 2004 由约翰·格鲁伯(英语:John Gruber)创建. ...
- Gitlab中README.MD编写格式模板
README.MD文件 格式: 源码: # Hbase组件 ## Maven依赖 ``` <dependency> <groupId>catf</groupId> ...
- README 语法记录
转自:nblogs.com/liugang-vip/p/6337580.html 正文: 1.标题的几种写法: 第一种: 前面带#号,后面带文字,分别表示h1-h6,上图可以看出,只到h6,而 ...
随机推荐
- MySQL数据库迁移详细步骤(转)
========================================================================================== 一.背景简介 == ...
- cas sso单点登录系列8_抛弃Https让Cas以Http协议提供单点登录服务
转:http://blog.csdn.net/ycyk_168/article/details/18668951 本文环境: 1.apache-tomcat-7.0.50-windows-x86 2. ...
- X-Plane飞行模拟器购买安装
要玩起X-Plane第一个步骤当然是购买了,要购买其实非常简单,只需要一张能够支持MasterCard或者其他外币结算的信用卡,在http://www.x-plane.com/官网上购买即可,比逛淘宝 ...
- Kickstart + http Linux自动化部署服务端
设备需要开启Network Boot功能.具体PXE技术就另外提,本文主要讲解配置. 在搭建该服务器之前需要关闭SELinux和iptables不然可能dhcp服务都起不来,客户端收不到IP地址,无法 ...
- ios开发之代理&&协议
Object-C是不支持多继承的,所以很多时候都是用Protocol(协议)来代替.Protocol(协议)只能定义公用的一套接口,但不能提供具体的实现方法.也就是说,它只告诉你要做什么,但具体怎么做 ...
- Extjs4.2.1学习笔记[更新]
心血来潮准备学习一下Extjs,就从官方网站http://extjs.org.cn/下载了最新版本4.2.1,开始从头学习,记一下笔记,让自己能够持之以恒. 先说一下基本文件类库引用吧, 每个项目一开 ...
- jQuery Tools:Web开发必备的 jQuery UI 库
基本介绍 jQuery Tools 是基于 jQuery 开发的网站界面库,包含网站最常用的Tabs(选项卡).Tooltip(信息提示).Overlay(遮罩.弹窗).Scrollable(滚动控制 ...
- 如何重载ComboBox 使其下拉按钮(带下箭头的)和下拉列表的垂直滚动条的宽度改变?(自绘ComboBox) [转]
原文地址:http://bbs.csdn.net/topics/390135022 http://blog.csdn.net/scsdn/article/details/4363299 想使用winf ...
- hadoop hdfs 命令行 设置文件夹大小的上限 quota:配额
>bin/hdfs dfs -put readme.txt /finance >bin/hdfs dfs -du -s /finance > /finance >bin/hdf ...
- MFC任务管理器task manager----进程的挂起与恢复--NtSuspendProcess&&NtResumeProcess
http://hi.baidu.com/xbbsh/blog/item/b73d3125462201084c088db1.html ---------------------------------- ...