以下是该博客程序的 Markdown / LaTex 测试,若不需要请无视
Welcome to AkagiYui's profile!
==abc==
备注
Some content with markdown syntax
. Check this api
.
Your Title
Some content with markdown syntax
.
提示
Some content with markdown syntax
. Check this api
.
信息
Some content with markdown syntax
. Check this api
.
警告
Some content with markdown syntax
. Check this api
.
注意
Some content with markdown syntax
. Check this api
.
危险
Some content with markdown syntax
. Check this api
.
Docusaurus green and Facebook blue are my favorite colors.
I can write Markdown alongside my JSX!
- Apple
- Orange
- Banana
This is an apple 🍎
This is an orange 🍊
This is a banana 🍌
:::tip Use tabs in admonitions
- Apple
- Orange
- Banana
This is an apple 🍎
This is an orange 🍊
This is a banana 🍌
:::
- JavaScript
- Python
- Java
function helloWorld() {
console.log('Hello, world!');
}
def hello_world():
print("Hello, world!")
class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello, World");
}
}
function HighlightSomeText(highlight) {
if (highlight) {
return 'This text is highlighted!';
}
return 'Nothing highlighted';
}
function HighlightMoreText(highlight) {
if (highlight) {
return 'This range is highlighted!';
}
return 'Nothing highlighted';
}
import React from 'react';
function MyComponent(props) {
if (props.isBar) {
return <div>Bar</div>;
}
return <div>Foo</div>;
}
export default MyComponent;
实时编辑器
function Clock(props) { const [date, setDate] = useState(new Date()); useEffect(() => { var timerID = setInterval(() => tick(), 1000); return function cleanup() { clearInterval(timerID); }; }); function tick() { setDate(new Date()); } return ( <div> <h2>It is {date.toLocaleTimeString()}.</h2> </div> ); }
结果
Loading...