1. The title
There are 6 levels of headings, and the writing is as follows: # level 1 headings' ## Level 2 headings ### level 3 headings #### Level 4 headings ##### Level 5 headings ###### Level 6 headingsCopy the code
The caption looks like this:
Primary title
The secondary title
Level 3 title
Level 4 titles
Five titles
Six levels of headings
2. The font
// Bold ** Hello, Ye Xiansen ** // Italic ** I like you * // delete line ~~ this content is discarded content ~~Copy the code
The font looks like this:
Hello, Ye Xiansen
I like you
This content is discarded
3. Reference
The syntax of citation writing is as follows: > All rights reservedCopy the code
The reference effect is as follows:
All rights reserved
All rights reserved
All rights reserved
4. Line
// Split line (length: depending on the content) -- // Split line (full screen) ***Copy the code
// Split line (length: depends on content)
// split line (full screen)
Picture 5.
// Insert image! [Image name](Image address - either local or online)Copy the code
Image insert effect is as follows: // Image insert [external link image transfer failed, source station may have anti-theft mechanism, it is recommended to save the image directly upload (img-3uubDIxW-1586692726050)(image address – can be local: can also be network)]
6. Hyperlinks
/ / links [click to jump to my lot] (https://github.com/CodeFarmer1999)Copy the code
Hyperlink will look like this // Hyperlink click to jump to my GitHub
A list of 7.
// Ordered list: sequence number + dot + space, generate list 1. Title // No need list: - + space -Copy the code
The list effect is as follows: // Ordered list: sequence number + dot + space to generate a list
- Home page
- classification
- Title // No need list: – + space
Code 8.
// Block Java -- (name)Copy the code
public class User {
@Id
@GeneratedValue
private Long id;
private String nickname;
private String username;
private String password;
private String email;
private String avatar;
private Integer type;
@Temporal(TemporalType.TIMESTAMP)
private Date createTime;
@Temporal(TemporalType.TIMESTAMP)
private Date updateTime;
@OneToMany(mappedBy = "user")
private List<Blog> blogs = new ArrayList<>();
public User(a) {}public Long getId(a) {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getNickname(a) {
return nickname;
}
public void setNickname(String nickname) {
this.nickname = nickname;
}
public String getUsername(a) {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword(a) {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getEmail(a) {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getAvatar(a) {
return avatar;
}
public void setAvatar(String avatar) {
this.avatar = avatar;
}
public Integer getType(a) {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public Date getCreateTime(a) {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime(a) {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public List<Blog> getBlogs(a) {
return blogs;
}
public void setBlogs(List<Blog> blogs) {
this.blogs = blogs;
}
@Override
public String toString(a) {
return "User{" +
"id=" + id +
", nickname='" + nickname + '\' ' +
", username='" + username + '\' ' +
", password='" + password + '\' ' +
", email='" + email + '\' ' +
", avatar='" + avatar + '\' ' +
", type=" + type +
", createTime=" + createTime +
", updateTime=" + updateTime +
'} ';
}
--(java)
Copy the code