refactor: repo (#1070)

This commit is contained in:
Mo
2022-06-07 07:18:41 -05:00
committed by GitHub
parent 4c65784421
commit f4ef63693c
1102 changed files with 5786 additions and 3366 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html>
<head>
<base target="_blank">
<meta charset="UTF-8">
<title>Markdown Math</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="dist/dist.css">
</head>
<body>
<div class="header">
<div class="header-item open-control">
<input type="file" id="fileElem" style="display:none">
<button class="toolbar-button _upload-source" title="Upload a file"></button>
<button class="toolbar-button _download-source" title="Download source"></button>
</div>
<div class="header-item demo-control">
<input class="control-input" id="id_html" type="radio" name="source_type" checked="checked"><label
class="control-item" for="id_html" title="Example of rendered HTML" data-result-as="html">preview</label>
<input class="control-input" id="id_src" type="radio" name="source_type"><label class="control-item" for="id_src"
title="HTML with rendered equations" data-result-as="src">html</label>
<input class="control-input" id="id_htmltex" type="radio" name="source_type"><label class="control-item"
for="id_htmltex" title="HTML with raw LaTeX equations" data-result-as="htmltex">html-tex</label>
<input class="control-input" id="id_md" type="radio" name="source_type"><label class="control-item" for="id_md"
title="Markdown with rendered equations" data-result-as="md">md</label>
<button class="toolbar-button _download-result" title="Download result"></button>
</div>
</div>
<div class="container full-height" id="container-block">
<!--
-->
<div class="half-width full-height source-wrap" id="source-block"><textarea id="editor-source"
class="source full-height"></textarea></div>
<!--
-->
<div class="slider full-height" id="slider"></div>
<!--
-->
<div class="half-width full-height" id="result-block">
<div class="result-html full-height"></div>
<pre class="result-src full-height"><code class="result-src-content"></code></pre>
</div>
<!--
-->
</div>
<script src="dist/dist.js"></script>
</body>
</html>

View File

@@ -0,0 +1,36 @@
{
"name": "sn-fancy-markdown-editor",
"version": "1.3.6",
"description": "",
"main": "index.js",
"scripts": {
"prepublish": "npm run build",
"build": "grunt",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Standard Notes",
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@standardnotes/component-relay": "2.2.0",
"draggabilly": "^2.2.0",
"grunt": "^1.0.4",
"grunt-babel": "^8.0.0",
"grunt-browserify": "^5.3.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-uglify": "^5.0.1",
"grunt-contrib-watch": "^1.1.0",
"grunt-newer": "^1.3.0",
"grunt-remove-comments": "^0.1.6",
"katex": "^0.11.1",
"markdown-it": "^10.0.0",
"markdown-it-footnote": "^3.0.2",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"markdown-it-task-lists": "^2.1.1",
"sn-stylekit": "2.0.20"
}
}