-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: syntax type err & formula config
- Loading branch information
Showing
11 changed files
with
420 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Cherry Editor - Markdown Editor</title> | ||
<style> | ||
html, | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
video { | ||
max-width: 400px; | ||
} | ||
|
||
#demo-val { | ||
display: none; | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
} | ||
iframe.cherry-dialog-iframe { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
</style> | ||
<link rel="stylesheet" type="text/css" href="../dist/cherry-markdown.css" /> | ||
<link rel="Shortcut Icon" href="./logo/favicon.ico" /> | ||
<link rel="Shortcut Icon" href="../logo/favicon.ico" /> | ||
<link rel="Bookmark" href="../logo/favicon.ico" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" | ||
integrity="sha384-AfEj0r4/OFrOo5t7NnNe46zW/tFgW6x/bCJG8FqQCEo3+Aro6EYUG4+cU+KJWu/X" | ||
crossorigin="anonymous" | ||
/> | ||
<link href="./markdown/basic.md" rel="preload" /> | ||
</head> | ||
|
||
<body> | ||
<div id="dom_mask" style="position: absolute; top: 40px; height: 20px; width: 100%"></div> | ||
<div id="markdown"></div> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.js"></script> | ||
<!--<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-g7c+Jr9ZivxKLnZTDUhnkOnsh30B4H0rpLUpJ4jAIKs4fnJI+sEnkvrMWph2EDg4" crossorigin="anonymous"></script>--> | ||
<script src="../dist/cherry-markdown.js"></script> | ||
<script src="./scripts/pinyin/pinyin_dist.js"></script> | ||
<script src="./scripts/formula.js"></script> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Formula | ||
|
||
## 数学公式 | ||
|
||
### symbol | ||
|
||
$+$ | ||
$-$ | ||
|
||
### fraction | ||
|
||
$\frac{a}{b}$ | ||
|
||
## 物理公式 | ||
|
||
### symbol | ||
|
||
$\vec{a}$ | ||
|
||
$\vec{v}$ | ||
|
||
### mechanics | ||
|
||
$\vec{F}=m\vec{a}$ | ||
|
||
$W=\int_{C} \vec{F} \cdot \mathrm{d} \vec{s}$ | ||
|
Oops, something went wrong.