demo
部署测试
export let year = 20181234我可以把我的 JSX 和 Markdown 写在一起!
Details 元素示例
点我!
这是详情内容
嵌套的下拉栏! 内含惊喜……
😲😲😲😲😲
我可以把我的 JSX 和 Markdown 写在一起!
function HighlightSomeText(highlight) {
if (highlight) {
return '这行被高亮了!';
}
return '这里不会';
}
function HighlightMoreText(highlight) {
if (highlight) {
return '这块被高亮了!';
}
return '这里不会';
}
import React from 'react';
function MyComponent(props) {
if (props.isBar) {
return <div>Bar</div>;
}
return <div>Foo</div>;
}
export default MyComponent;
import React from 'react';
function MyComponent(props) {
if (props.isBar) {
return <div>Bar</div>;
}
return <div>Foo</div>;
}
export default MyComponent;
Live Editor
Result
Loading...
note
Some content with Markdown syntax. 看看这个 api。
tip
Some content with Markdown syntax. 看看这个 api。
info
Some content with Markdown syntax. 看看这个 api。
caution
Some content with Markdown syntax. 看看这个 api。
danger
Some content with Markdown syntax. 看看这个 api。
$$ I = \int_0^{2\pi} \sin(x)\,dx $$
令 $f\colon[a,b]\to\R$ 为一个黎曼可积的函数。 令 $F\colon[a,b]\to\R$ 等于 $F(x)=\int_{a}^{x} f(t)\,dt$。 因此,$F$ 是连续的,并且对于所有使得 $f$ 在 $x$ 处连续的 $x$,$F$ 都在 $x$ 处可微,并且有 $F'(x)=f(x)$.