玛氪宕·梦魔(Markdown Memo),使用Markdown的云端备忘录,百度IFE的RIA启航班的不合格的作业,才……才没有什么阴谋呢! 源gitee链接https://gitee.com/arathi/MarkdownMemo?_from=gitee_search
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.8 KiB

10 years ago
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<title>Tex科学公式 - Editor.md examples</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div id="layout">
<header>
<h1>Tex科学公式</h1>
10 years ago
<p>基于KaTeX.js:<a href="http://khan.github.io/KaTeX/" target="_blank">http://khan.github.io/KaTeX/</a></p>
<p>注:默认使用cloudflare的CDN,有时加载速度会比较慢,可自定义加载地址。</p>
10 years ago
</header>
<div class="editormd" id="test-editormd">
<script type="text/markdown">####
$$E=mc^2$$
10 years ago
行内的公式$$E=mc^2$$行内的公式,行内的$$E=mc^2$$公式。
10 years ago
$$\(\sqrt{3x-1}+(1+x)^2\)$$
$$\sin(\alpha)^{\theta}=\sum_{i=0}^{n}(x^i + \cos(f))$$</script>
</div>
</div>
<script src="../lib/jquery.min.js"></script>
<link rel="stylesheet" href="../dist/css/editormd.css" />
<script src="../src/js/editormd.js"></script>
<script type="text/javascript">
10 years ago
$(function() {
/*
默认使用cloudflare的CDN,有时加载速度会比较慢
自定义KaTex的URL或者直接修改源码
10 years ago
10 years ago
editormd.katexURL = {
js : ".....",
css : "......"
};
*/
10 years ago
10 years ago
var testEditor = editormd("test-editormd", {
width: "90%",
height: 640,
path : '../lib/',
tex : true
10 years ago
});
});
</script>
</body>
</html>