|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
<meta name="keywords" content="demo2" />
|
|
|
<meta name="description" content="demo2" />
|
|
|
<!-- 网页标签标题 -->
|
|
|
<title>demo2</title>
|
|
|
<link rel="shortcut icon" href="/img/docsite.ico"/>
|
|
|
<link rel="stylesheet" href="/build/documentation.css" />
|
|
|
</head>
|
|
|
<body>
|
|
|
<div id="root"><div class="documentation-page" data-reactroot=""><header class="header-container header-container-normal"><div class="header-body"><img class="logo" src="/img/dubbo_colorful.png"/><div class="header-menu"><img class="header-menu-toggle" src="/img/system/menu_gray.png"/><ul><li class="menu-item menu-item-normal"><a href="http://localhost:8083/index.html#/login" target="_self">登录</a></li><li class="menu-item menu-item-normal"><a href="http://localhost:8083/index.html#/isvReg" target="_self">免费注册</a></li></ul></div></div></header><div class="bar"><div class="bar-body"><img src="/img/system/docs.png" class="front-img"/><span>文档</span><img src="/img/system/docs.png" class="back-img"/></div></div><section class="content-section"><div class="sidemenu"><div class="sidemenu-toggle"><img src="https://img.alicdn.com/tfs/TB1E6apXHGYBuNjy0FoXXciBFXa-200-200.png"/></div><ul><li class="menu-item menu-item-level-1"><span>大标题</span><ul><li style="height:36px;overflow:hidden" class="menu-item menu-item-level-2"><a href="/zh-cn/docs/demo1.html" target="_self">示例1</a></li><li style="height:36px;overflow:hidden" class="menu-item menu-item-level-2"><a href="/zh-cn/docs/demo2.html" target="_self">示例2</a></li><li style="height:72px;overflow:hidden" class="menu-item menu-item-level-2"><span>目录<img style="transform:rotate(0deg)" class="menu-toggle" src="/img/system/arrow_down.png"/></span><ul><li class="menu-item menu-item-level-3"><a href="/zh-cn/docs/dir/demo3.html" target="_self">示例3</a></li></ul></li></ul></li></ul></div><div class="doc-content markdown-body"><h1>文档之间跳转、图片引用的示例</h1>
|
|
|
<p>文档之间的跳转链接按照文件目录之间的相对关系配置即可,推荐在同一语言目录下的不同文件夹间跳转,以缩短配置路径。
|
|
|
点击跳转: <a href="./demo1.md">demo1.md</a>。</p>
|
|
|
<p>图片的引用,支持绝对引用和相对引用,如果是相对引用,同文档之间的相互引用一样,是按照文件之间的相对路径进行处理的。比如
|
|
|
<img src="./img/brhtqqzh.jpeg" alt=""></p>
|
|
|
<h1>数学公式的使用(katex)</h1>
|
|
|
<p><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi>E</mi><mo>=</mo><mi>m</mi><msup><mi>c</mi><mn>2</mn></msup></mrow><annotation encoding="application/x-tex">E = mc^2</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8141079999999999em;"></span><span class="strut bottom" style="height:0.8141079999999999em;vertical-align:0em;"></span><span class="base textstyle uncramped"><span class="mord mathit" style="margin-right:0.05764em;">E</span><span class="mrel">=</span><span class="mord mathit">m</span><span class="mord"><span class="mord mathit">c</span><span class="vlist"><span style="top:-0.363em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span><span class="reset-textstyle scriptstyle uncramped"><span class="mord mathrm">2</span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span></span></span></span></span></span></span></p>
|
|
|
<p><span class="katex-display"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi>x</mi><mo>=</mo><msubsup><mi>a</mi><mrow><mn>1</mn></mrow><mi>n</mi></msubsup><mo>+</mo><msubsup><mi>a</mi><mrow><mn>2</mn></mrow><mi>n</mi></msubsup><mo>+</mo><msubsup><mi>a</mi><mrow><mn>3</mn></mrow><mi>n</mi></msubsup></mrow><annotation encoding="application/x-tex">x = a_{1}^n + a_{2}^n + a_{3}^n
|
|
|
</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.7143919999999999em;"></span><span class="strut bottom" style="height:0.9613919999999999em;vertical-align:-0.247em;"></span><span class="base displaystyle textstyle uncramped"><span class="mord mathit">x</span><span class="mrel">=</span><span class="mord"><span class="mord mathit">a</span><span class="vlist"><span style="top:0.247em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord scriptstyle cramped"><span class="mord mathrm">1</span></span></span></span><span style="top:-0.4129999999999999em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span><span class="reset-textstyle scriptstyle uncramped"><span class="mord mathit">n</span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span></span></span></span><span class="mbin">+</span><span class="mord"><span class="mord mathit">a</span><span class="vlist"><span style="top:0.247em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord scriptstyle cramped"><span class="mord mathrm">2</span></span></span></span><span style="top:-0.4129999999999999em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span><span class="reset-textstyle scriptstyle uncramped"><span class="mord mathit">n</span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span></span></span></span><span class="mbin">+</span><span class="mord"><span class="mord mathit">a</span><span class="vlist"><span style="top:0.247em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord scriptstyle cramped"><span class="mord mathrm">3</span></span></span></span><span style="top:-0.4129999999999999em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span><span class="reset-textstyle scriptstyle uncramped"><span class="mord mathit">n</span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span></span></span></span></span></span></span></span></p>
|
|
|
<p><span class="katex-display"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mroot><mrow><mi>X</mi></mrow><mrow><mn>3</mn></mrow></mroot></mrow><annotation encoding="application/x-tex">\sqrt[3]{X}
|
|
|
</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.9755400000000001em;"></span><span class="strut bottom" style="height:1.04em;vertical-align:-0.06446000000000002em;"></span><span class="base displaystyle textstyle uncramped"><span class="sqrt mord"><span class="root"><span class="vlist"><span style="top:-0.546648em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span><span class="reset-textstyle scriptscriptstyle uncramped"><span class="mord scriptscriptstyle uncramped"><span class="mord mathrm">3</span></span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;"></span></span></span></span></span><span class="sqrt-sign" style="top:-0.13554em;"><span class="style-wrap reset-textstyle textstyle uncramped">√</span></span><span class="vlist"><span style="top:0em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:1em;"></span></span><span class="mord displaystyle textstyle cramped"><span class="mord mathit" style="margin-right:0.07847em;">X</span></span></span><span style="top:-0.89554em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:1em;"></span></span><span class="reset-textstyle textstyle uncramped sqrt-line"></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:1em;"></span></span></span></span></span></span></span></span></span></p>
|
|
|
<p><span class="katex-display"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><msqrt><mrow><mn>5</mn><mo>−</mo><mi>x</mi></mrow></msqrt></mrow><annotation encoding="application/x-tex">\sqrt{5 - x}
|
|
|
</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.9144300000000001em;"></span><span class="strut bottom" style="height:1.04em;vertical-align:-0.12557000000000001em;"></span><span class="base displaystyle textstyle uncramped"><span class="sqrt mord"><span class="sqrt-sign" style="top:-0.07443em;"><span class="style-wrap reset-textstyle textstyle uncramped">√</span></span><span class="vlist"><span style="top:0em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:1em;"></span></span><span class="mord displaystyle textstyle cramped"><span class="mord mathrm">5</span><span class="mbin">−</span><span class="mord mathit">x</span></span></span><span style="top:-0.83443em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:1em;"></span></span><span class="reset-textstyle textstyle uncramped sqrt-line"></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:1em;"></span></span></span></span></span></span></span></span></span></p>
|
|
|
</div></section><footer class="footer-container"><div class="footer-body"><div class="copyright"><span><div style="margin:0 auto;padding:20px 0;a:[object Object]"><a style="color:#999;padding-right:10px;text-decoration:none;height:20px;line-height:20px;img:[object Object];p:[object Object]">联系我们:xxx@163.com</a></div></span></div></div></footer></div></div>
|
|
|
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
|
|
|
<script src="https://f.alicdn.com/react/15.4.1/react-dom.min.js"></script>
|
|
|
<script>
|
|
|
window.rootPath = '';
|
|
|
</script>
|
|
|
<script src="/build/documentation.js"></script>
|
|
|
</body>
|
|
|
</html>
|
|
|
|