2023-08-16 12:47:47 +02:00
|
|
|
---
|
|
|
|
test: yes
|
|
|
|
---
|
2023-08-11 19:01:10 +02:00
|
|
|
|
2023-09-08 16:56:19 +02:00
|
|
|
This is a cool test note%%with an inline comment%%, my friends!
|
|
|
|
|
|
|
|
%%
|
|
|
|
BLOCK COMMENT
|
|
|
|
%%
|
2023-08-11 19:01:10 +02:00
|
|
|
|
|
|
|
> 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!!
|
|
|
|
|
2023-09-08 16:56:19 +02:00
|
|
|
%%
|
|
|
|
ANOTHER BLOCK COMMENT
|
|
|
|
you know
|
|
|
|
|
|
|
|
WITH A LOT OF TEXT
|
|
|
|
%%
|
|
|
|
|
2023-09-08 17:35:11 +02:00
|
|
|
blah blah i added and[^text] removed this[^1]
|
2023-08-17 17:55:27 +02:00
|
|
|
|
2023-09-08 17:35:11 +02:00
|
|
|
The following is $x^2 = 7$, but more^[Inline footnote!] complicated!
|
2023-08-11 20:51:34 +02:00
|
|
|
$$
|
|
|
|
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]]
|
|
|
|
|
2023-09-08 17:35:11 +02:00
|
|
|
nice
|
|
|
|
|
|
|
|
[^1]: Normal footnote!
|
|
|
|
|
2023-09-08 17:39:19 +02:00
|
|
|
[^text]: Text footnote
|