added chemistry support

closes #7
This commit is contained in:
Ell 2023-10-16 16:35:45 +02:00
parent dcfe7e6f3d
commit eac391b364
4 changed files with 15 additions and 5 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "just-share-please",
"version": "0.1.3",
"version": "0.1.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "just-share-please",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",

View file

@ -11,6 +11,7 @@
<script src="https://cdn.jsdelivr.net/npm/dompurify@3.0.5/dist/purify.js"></script>
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.8.0/build/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/mhchem.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/markdown-it@13.0.1/dist/markdown-it.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/markdown-it-texmath@1.0.0/texmath.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/markdown-it-anchor@8.6.7/dist/markdownItAnchor.umd.js"></script>

View file

@ -2,8 +2,8 @@
"url": "http://localhost:8080",
"shared": [
{
"id": "22478da6",
"password": "5553101a4b7cb2b47dab2bb15ba6cd51",
"id": "7a4c6dde",
"password": "33cc5675fc172b601abe3663d2b67965",
"path": "Cool Test Note.md"
}
],

View file

@ -4,6 +4,15 @@ test: yes
This is a cool test note%%with an inline comment%%, my friends!
Chemistry!
$$
\ce{ ^{227}_{90}Th+ }
$$
$$
\ce{ 1/2H2O }
$$
%%
BLOCK COMMENT
%%