行内代码
若要将某个word 或 phrase 标注为代码,请用反引号(`)包裹。
代码块
使用围栏代码块:用三个反引号包裹代码,并在开头反引号后写明代码片段的编程语言以启用语法高亮。必要时,你也可以在语言后添加文件名。HelloWorld.java
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
展示行内代码与代码块
word 或 phrase 标注为代码,请用反引号(`)包裹。
To denote a `word` or `phrase` as code, enclose it in backticks (`).
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```java HelloWorld.java
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```
