标签:
只需要在文本前面加入 ">"
离离原上草
一岁一枯荣
野火烧不尽
春风吹又生
如果注释一行,在">"后面与文字之间加上五个空格
![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "title text")
展示效果
[link text](https://www.google.com "title text")
展示效果:
没有选中
选中
html
方法一:只需要在第一行加上四个空格即可
public int add(int num1, int num2) {
int result = 0;
int carry = 0;
do {
result = num1 ^ num2;
carry = (num1 & num2) << 1;
num1 = result;
num2 = carry;
} while (num2 != 0);
return num1;
}
方法二:加上``` 在代码段的前后分别加上,这个符号是英文的[~]这个键,键盘的左上角那个键,不要搞错了
展示:
public int add(int num1, int num2) {
int result = 0;
int carry = 0;
do {
result = num1 ^ num2;
carry = (num1 & num2) << 1;
num1 = result;
num2 = carry;
} while (num2 != 0);
return num1;
}
使用markdown插入表格比较麻烦,还不如直接写html的tabel插入 实例:
| Tables | Are | Cool |
|-------------------|------------------|----------------|
| col 3 is | right-akugbed| $1600 |
| col 2 is | centered | $12 |
| col 1 is | are neat | $1 |
显示结果:
Tables | Are | Cool |
---|---|---|
col 3 is | right-akugbed | $1600 |
col 2 is | centered | $12 |
col 1 is | are neat | $1 |
```math
E = mc^2
```
展示:
标签:
原文地址:http://www.cnblogs.com/wzyxidian/p/5930635.html