
Markdown测试
· 阅读需 1 分钟
这只是一个简单的图床测试博文
提示
This is a Mark
Natural Selection Labs 你看不见我
Github、 Zhihu、 Bilibili、 Iconify
- 1
- 2
- 3
Hey,你好!@You
Mark.tsxtsx
import React from "react";
import type { RFC } from "../type";
import "./styles.module.css";
const Mark: RFC<void> = (props): JSX.Element => {
return (
<mark className="rounded-md">
<span className="px-1">{props.children}</span>
</mark>
);
};
export default Mark;
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";
}