Markdown常用语法
标题
标题1
标题2
标题3
标题4
标题5
标题6
首行缩进
一语未了,只听后院中有人笑声,说:“我来迟了,不曾迎接远客!"
分割线
可以使用星号、减号和底线三种方式
列表
- 文本1
- 文本2
- 文本3
- 文本1
- 文本2
3. 文本3
链接
引用
一盏灯, 一片昏黄; 一简书, 一杯淡茶。 守着那一份淡定, 品读属于自己的寂寞。 保持淡定, 才能欣赏到最美丽的风景! 保持淡定, 人生从此不再寂寞。
粗体和斜线
粗体
斜线
代码引用
单行代码
package entity;
import java.util.Date;
publicclass user {
privateString username;
privateString password;
privateString confirmPassword;
privateDate birthday;
privateString sex;
privateString[] favorite;
privateString introduce;
public user(){
// TODO Auto-generated constructor stub
}
publicString getUsername(){
return username;
}
publicvoid setUsername(String username){
this.username = username;
}
publicString getPassword(){
return password;
}
publicvoid setPassword(String password){
this.password = password;
}
publicString getConfirmPassword(){
return confirmPassword;
}
publicvoid setConfirmPassword(String confirmPassword){
this.confirmPassword = confirmPassword;
}
publicDate getBirthday(){
return birthday;
}
publicvoid setBirthday(Date birthday){
this.birthday = birthday;
}
publicString getSex(){
return sex;
}
publicvoid setSex(String sex){
this.sex = sex;
}
publicString[] getFavorite(){
return favorite;
}
publicvoid setFavorite(String[] favorite){
this.favorite = favorite;
}
publicString getIntroduce(){
return introduce;
}
publicvoid setIntroduce(String introduce){
this.introduce = introduce;
}
}
表格
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |