mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-11-23 19:08:35 +01:00
44 lines
891 B
Markdown
44 lines
891 B
Markdown
|
---
|
||
|
test: yes
|
||
|
---
|
||
|
|
||
|
this is the SECOND cool test note!!
|
||
|
|
||
|
> How are you?
|
||
|
|
||
|
```js
|
||
|
$.ajax({
|
||
|
method: "get",
|
||
|
url: id ? `share.php?id=${id}` : "index.md",
|
||
|
success: t => {
|
||
|
main.html(DOMPurify.sanitize(md.render(t)));
|
||
|
|
||
|
// scroll to anchor
|
||
|
let element = $(window.location.hash);
|
||
|
if (element.length)
|
||
|
$(window).scrollTop(element.offset().top);
|
||
|
},
|
||
|
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>`)
|
||
|
});
|
||
|
```
|
||
|
|
||
|
cool!!
|
||
|
|
||
|
blah blah i added and removed this
|
||
|
|
||
|
The following is $x^2 = 7$, but more complicated!
|
||
|
$$
|
||
|
x^2 + \sum_{i = 1}^{10000} x^2 \cdot 0 = 7
|
||
|
$$
|
||
|
|
||
|
## Some images
|
||
|
|
||
|
image!
|
||
|
|
||
|
![this is an image my friends, and this is my alt text](Obsidian_TtC7w4GA86.png)
|
||
|
|
||
|
wikilink image!
|
||
|
|
||
|
![[Pasted image 20230816130420.png]]
|
||
|
|
||
|
nice
|