2023-08-16 12:47:47 +02:00
|
|
|
---
|
|
|
|
test: yes
|
|
|
|
---
|
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",
|
2023-08-17 13:03:12 +02:00
|
|
|
url: id ? `share.php?id=${id}` : "index.md",
|
2023-08-11 20:51:34 +02:00
|
|
|
success: t => {
|
2023-08-17 13:03:12 +02:00
|
|
|
main.html(DOMPurify.sanitize(md.render(t)));
|
|
|
|
|
|
|
|
// scroll to anchor
|
|
|
|
let element = $(window.location.hash);
|
|
|
|
if (element.length)
|
|
|
|
$(window).scrollTop(element.offset().top);
|
2023-08-11 20:51:34 +02:00
|
|
|
},
|
2023-08-17 13:03:12 +02:00
|
|
|
error: (r, s, e) => main.html(`<div class="error"><p>Error loading shared note with id <code>${id}</code>: ${e}</p><p><a href="#">Home</a></p></div>`)
|
2023-08-11 20:51:34 +02:00
|
|
|
});
|
2023-08-11 19:01:10 +02:00
|
|
|
```
|
|
|
|
|
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
|