2023-08-16 12:47:47 +02:00
|
|
|
---
|
|
|
|
test: yes
|
|
|
|
---
|
|
|
|
|
2023-08-16 14:21:40 +02:00
|
|
|
yo
|
2023-08-11 19:01:10 +02:00
|
|
|
# Cool Test Note
|
|
|
|
|
|
|
|
This is a cool test note, my friends!
|
|
|
|
|
|
|
|
> How are you?
|
|
|
|
|
2023-08-11 20:51:34 +02:00
|
|
|
```js
|
|
|
|
$.ajax({
|
|
|
|
method: "get",
|
|
|
|
url: `share.php?id=${hash}`,
|
|
|
|
success: t => {
|
|
|
|
marked.use(markedKatex());
|
|
|
|
marked.use(markedHighlight.markedHighlight({
|
|
|
|
langPrefix: "hljs language-",
|
|
|
|
highlight: (c, l) => {
|
|
|
|
const language = hljs.getLanguage(l) ? l : "plaintext";
|
|
|
|
return hljs.highlight(c, {language}).value;
|
|
|
|
}
|
|
|
|
}));
|
|
|
|
main.html(DOMPurify.sanitize(marked.parse(t)));
|
|
|
|
},
|
|
|
|
// TODO display this error more nicely
|
|
|
|
error: (r, s, e) => main.html(e)
|
|
|
|
});
|
2023-08-11 19:01:10 +02:00
|
|
|
```
|
|
|
|
http://localhost:8080#ff3ebb34
|
|
|
|
|
2023-08-11 20:51:34 +02:00
|
|
|
cool!!
|
|
|
|
|
|
|
|
The following is $x^2 = 7$, but more complicated!
|
|
|
|
$$
|
|
|
|
x^2 + \sum_{i = 1}^{10000} x^2 \cdot 0 = 7
|
2023-08-16 13:32:47 +02:00
|
|
|
$$
|
|
|
|
|
2023-08-17 12:40:32 +02:00
|
|
|
## Some images
|
|
|
|
|
2023-08-16 13:32:47 +02:00
|
|
|
image!
|
|
|
|
|
|
|
|
![this is an image my friends, and this is my alt text](Obsidian_TtC7w4GA86.png)
|
|
|
|
|
|
|
|
wikilink image!
|
|
|
|
|
|
|
|
![[Pasted image 20230816130420.png]]
|
|
|
|
|
|
|
|
nice
|