You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9470 lines
242 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GC Parser Test Report</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: #333;
background: #f5f5f5;
padding: 20px;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
h1 {
color: #2c3e50;
margin-bottom: 10px;
font-size: 2.5em;
}
.subtitle {
color: #7f8c8d;
margin-bottom: 30px;
font-size: 1.1em;
}
.section {
background: white;
border-radius: 8px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.section h2 {
color: #34495e;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid #3498db;
font-size: 1.8em;
}
.section h3 {
color: #2c3e50;
margin-top: 25px;
margin-bottom: 15px;
font-size: 1.3em;
}
.tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
border-bottom: 2px solid #e0e0e0;
}
.tab {
padding: 12px 24px;
background: #f8f9fa;
border: none;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
cursor: pointer;
font-size: 1em;
font-weight: 500;
color: #555;
transition: all 0.2s;
}
.tab:hover {
background: #e9ecef;
}
.tab.active {
background: #3498db;
color: white;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
.metadata-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
margin-top: 15px;
}
.metadata-item {
background: #f8f9fa;
padding: 12px;
border-radius: 4px;
border-left: 3px solid #3498db;
}
.metadata-item strong {
color: #2c3e50;
display: block;
margin-bottom: 5px;
}
.metadata-item code {
background: #e9ecef;
padding: 2px 6px;
border-radius: 3px;
font-size: 0.9em;
}
.code-block {
background: #2d2d2d;
color: #f8f8f2;
padding: 15px;
border-radius: 6px;
overflow-x: auto;
font-family: 'Courier New', monospace;
font-size: 0.9em;
line-height: 1.5;
margin: 15px 0;
max-height: 400px;
overflow-y: auto;
}
.code-block pre {
margin: 0;
white-space: pre-wrap;
word-wrap: break-word;
}
.rendered-output {
background: white;
border: 1px solid #ddd;
padding: 20px;
border-radius: 6px;
margin: 15px 0;
min-height: 200px;
}
.rendered-output * {
max-width: 100%;
}
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
margin-top: 20px;
}
.stat-card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px;
border-radius: 8px;
text-align: center;
}
.stat-card .number {
font-size: 2.5em;
font-weight: bold;
margin-bottom: 5px;
}
.stat-card .label {
font-size: 0.9em;
opacity: 0.9;
}
.list-item {
background: #f8f9fa;
padding: 8px 12px;
margin: 5px 0;
border-radius: 4px;
border-left: 3px solid #95a5a6;
}
.list-item code {
background: #e9ecef;
padding: 2px 6px;
border-radius: 3px;
font-size: 0.85em;
}
.success-badge {
display: inline-block;
background: #27ae60;
color: white;
padding: 4px 12px;
border-radius: 12px;
font-size: 0.85em;
font-weight: 500;
margin-left: 10px;
}
.warning-badge {
display: inline-block;
background: #f39c12;
color: white;
padding: 4px 12px;
border-radius: 12px;
font-size: 0.85em;
font-weight: 500;
margin-left: 10px;
}
.comparison {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-top: 20px;
}
@media (max-width: 768px) {
.comparison {
grid-template-columns: 1fr;
}
}
.json-view {
background: #f8f9fa;
padding: 15px;
border-radius: 6px;
overflow-x: auto;
font-family: 'Courier New', monospace;
font-size: 0.85em;
max-height: 300px;
overflow-y: auto;
}
</style>
</head>
<body>
<div class="container">
<h1>GC Parser Test Report</h1>
<p class="subtitle">Generated: 4.3.2026, 13:12:35</p>
<!-- Markdown Section -->
<div class="section">
<h2>Markdown Document Test <span class="success-badge">✓ Parsed</span></h2>
<div class="tabs">
<button class="tab active" onclick="showTab('md-overview')">Overview</button>
<button class="tab" onclick="showTab('md-original')">Original Content</button>
<button class="tab" onclick="showTab('md-rendered')">Rendered Output</button>
<button class="tab" onclick="showTab('md-metadata')">Metadata</button>
</div>
<div id="md-overview" class="tab-content active">
<div class="stats">
<div class="stat-card">
<div class="number">5</div>
<div class="label">Nostr Links</div>
</div>
<div class="stat-card">
<div class="number">2</div>
<div class="label">Wikilinks</div>
</div>
<div class="stat-card">
<div class="number">3</div>
<div class="label">Hashtags</div>
</div>
<div class="stat-card">
<div class="number">7</div>
<div class="label">Links</div>
</div>
<div class="stat-card">
<div class="number">3</div>
<div class="label">Media URLs</div>
</div>
<div class="stat-card">
<div class="number">No</div>
<div class="label">Has LaTeX</div>
</div>
<div class="stat-card">
<div class="number">No</div>
<div class="label">Has Music</div>
</div>
</div>
<h3>Frontmatter</h3>
<div class="metadata-grid">
<div class="metadata-item">
<strong>author</strong>
<code>&quot;James Smith&quot;</code>
</div>
<div class="metadata-item">
<strong>summary</strong>
<code>&quot;This is a summary&quot;</code>
</div>
<div class="metadata-item">
<strong>topics</strong>
<code>&quot;list, of, topics&quot;</code>
</div>
<div class="metadata-item">
<strong>variable</strong>
<code>[&quot;one thing&quot;,&quot;two things&quot;,&quot;several things&quot;]</code>
</div>
</div>
</div>
<div id="md-original" class="tab-content">
<h3>Original Markdown Content</h3>
<div class="code-block">
<pre>---
# this is YAML front matter
author: James Smith
summary: This is a summary
topics: list, of, topics
variable: one
array:
- one thing
- two things
- several things
# all of this data is available to our layout
---
# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z
nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj
nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh
nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg
### Hashtag
#testhashtag at the start of the line and #inlinehashtag in the middle
### Wikilinks
[[NKBIP-01|Specification]] and [[mirepoix]]
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
[Welt Online link](https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html)
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like [wss://theforest.nostr1.com](https://theforest.nostr1.com)
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
![test image](https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png)
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[![Youtube link with pic](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png)](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
https://open.spotify.com/episode/1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[![Spotify link with pic](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png)](https://open.spotify.com/episode/1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[![Audio link with pic](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png)](https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[![Video link with pic](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png)](https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
```json
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
```
### typescript
```typescript
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
```
### shell
```shell
mkdir new_directory
cp source.txt destination.txt
```
### LaTeX
```latex
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
```
```latex
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
```
### ABC Notation
```abc
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
```
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]$` and `$[\sqrt{x^2+1}\]$` and `$\color{blue}{X \sim Normal \; (\mu,\sigma^2)}$`
## LaTex outside of code
This is a latex code block $$\mathbb{N} = \{ a \in \mathbb{Z} : a &gt; 0 \}$$ and another that is an inline latex $\color{green}{X \sim Normal \; (\mu,\sigma^2)}$ and should be green
## Footnotes
Here&#039;s a simple footnote,[^1] and here&#039;s a longer one.[^bignote]
[^1]: This is the first footnote.
[^bignote]: Here&#039;s one with multiple paragraphs and code.
## Anchor links
[Link to bullet list section](#bullet-lists)
## Formatting
### Strikethrough
~~The world is flat.~~ We now know that the world is round. This should not be ~struck~ through.
### Bold
This is *bold* text. So is this **bold** text.
### Italic
This is _italic_ text. So is this __italic__ text.
### Task List
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
### Emoji shortcodes
Gone camping! :tent: Be back soon.
That is so funny! :joy:
### Marking and highlighting text
I need to highlight these ==very important words==.
### Subscript and Superscript
H~2~O
X^2^
### Delimiter
based upon a -
---
based upon a *
***
### Quotes
&gt; This is a single line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
&gt; This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
&gt; This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
&gt; This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj </pre>
</div>
</div>
<div id="md-rendered" class="tab-content">
<h3>Rendered HTML Output</h3>
<div class="rendered-output">
<p># Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
## Code blocks
### json
```json
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
```
### typescript
```typescript
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
```
### shell
```shell
mkdir new_directory
cp source.txt destination.txt
```
### LaTeX
```latex
$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$
```
```latex
$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$
```
### ABC Notation
```abc
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
```
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
and `$[\sqrt{x^2+1}\]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
and and `$\color{blue}{X \sim Normal \; (\mu,\sigma^2)}# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
and `$[\sqrt{x^2+1}\]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
and and
## LaTex outside of code
This is a latex code block $$\mathbb{N} = \{ a \in \mathbb{Z} : a > 0 \}$$ and another that is an inline latex $\color{green}{X \sim Normal \; (\mu,\sigma^2)}$ and should be green
## Footnotes
Here's a simple footnote,[^1] and here's a longer one.[^bignote]
[^1]: This is the first footnote.
[^bignote]: Here's one with multiple paragraphs and code.
## Anchor links
link:hashtag:bullet[#bullet]-lists[Link to bullet list section]
## Formatting
### Strikethrough
~~The world is flat.~~ We now know that the world is round. This should not be ~struck~ through.
### Bold
This is *bold* text. So is this **bold** text.
### Italic
This is _italic_ text. So is this __italic__ text.
### Task List
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
### Emoji shortcodes
Gone camping! :tent: Be back soon.
That is so funny! :joy:
### Marking and highlighting text
I need to highlight these ==very important words==.
### Subscript and Superscript
H~2~O
X^2^
### Delimiter
based upon a -
---
based upon a *
***
### Quotes
> This is a single line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
> This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
> This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
> This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj </p>
</div>
<details style="margin-top: 15px;">
<summary style="cursor: pointer; color: #3498db; font-weight: 500;">View Raw HTML</summary>
<div class="code-block" style="margin-top: 10px;">
<pre>&lt;p&gt;# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
```json
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
```
### typescript
```typescript
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
```
### shell
```shell
mkdir new_directory
cp source.txt destination.txt
```
### LaTeX
```latex
$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$
```
```latex
$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$
```
### ABC Notation
```abc
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
```
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
and `$[\sqrt{x^2+1}\]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
and and `$\color{blue}{X \sim Normal \; (\mu,\sigma^2)}# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
and `$[\sqrt{x^2+1}\]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
`$[ x^n + y^n = z^n \]# Markdown Test Document
## Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
- Indented item
- Indented item
* Fourth item
Another unordered list:
- 1st item
- 2nd item
- third item containing _italic_ text
- indented item
- second indented item
- fourth item
This is a test ordered list with indented items:
1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
Ordered list where everything has the same number:
1. First item
1. Second item
1. Third item
1. Fourth item
Ordered list that is wrongly numbered:
1. First item
8. Second item
3. Third item
5. Fourth item
This is a mixed list with indented items:
1. First item
2. Second item
3. Third item
* Indented item
* Indented item
4. Fourth item
This is another mixed list with indented items:
- First item
- Second item
- Third item
1. Indented item
2. Indented item
- Fourth item
## Headers
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
## Media and Links
### Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
### Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
### Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
### URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this shouild be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:https://theforest.nostr1.com/[wss://theforest.nostr1.com]
### Images
Image: https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image,width=100%]
### Media
#### YouTube
https://youtube.com/shorts/ZWfvChb-i0w
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic,width=100%]](https://youtube.com/shorts/ZWfvChb-i0w)
#### Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic,width=100%]](MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ)
#### Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic,width=100%]](MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3)
#### Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
[image::https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic,width=100%]](MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4)
## Tables
### Orderly
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
### Unorderly
| Syntax | Description |
| --- | ----------- |
| Header | Title |
| Paragraph | Text |
### With alignment
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here&#039;s this |
| Paragraph | Text | And more |
## Code blocks
### json
__CODEBLOCK_0__
### typescript
__CODEBLOCK_1__
### shell
__CODEBLOCK_2__
### LaTeX
__CODEBLOCK_3__
__CODEBLOCK_4__
### ABC Notation
__CODEBLOCK_5__
## LateX
### LaTex in inline-code
and and
## LaTex outside of code
This is a latex code block $$\mathbb{N} = \{ a \in \mathbb{Z} : a &gt; 0 \}$$ and another that is an inline latex $\color{green}{X \sim Normal \; (\mu,\sigma^2)}$ and should be green
## Footnotes
Here&#039;s a simple footnote,[^1] and here&#039;s a longer one.[^bignote]
[^1]: This is the first footnote.
[^bignote]: Here&#039;s one with multiple paragraphs and code.
## Anchor links
link:hashtag:bullet[#bullet]-lists[Link to bullet list section]
## Formatting
### Strikethrough
~~The world is flat.~~ We now know that the world is round. This should not be ~struck~ through.
### Bold
This is *bold* text. So is this **bold** text.
### Italic
This is _italic_ text. So is this __italic__ text.
### Task List
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
### Emoji shortcodes
Gone camping! :tent: Be back soon.
That is so funny! :joy:
### Marking and highlighting text
I need to highlight these ==very important words==.
### Subscript and Superscript
H~2~O
X^2^
### Delimiter
based upon a -
---
based upon a *
***
### Quotes
&gt; This is a single line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
&gt; This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
&gt; This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
&gt; This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj &lt;/p&gt;</pre>
</div>
</details>
</div>
<div id="md-metadata" class="tab-content">
<h3>Extracted Metadata</h3>
<h4>Nostr Links (5)</h4>
<div class="list-item">
<strong>naddr</strong>: <code>naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l</code>
- nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
</div>
<div class="list-item">
<strong>npub</strong>: <code>npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z</code>
- nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z
</div>
<div class="list-item">
<strong>nevent</strong>: <code>nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj</code>
- nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj
</div>
<div class="list-item">
<strong>nprofile</strong>: <code>nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh</code>
- nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh
</div>
<div class="list-item">
<strong>note</strong>: <code>note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg</code>
- nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg
</div>
<h4>Wikilinks (2)</h4>
<div class="list-item">
<code>[[NKBIP-01|Specification]]</code> → dtag: <code>nkbip-01</code>
(display: Specification)
</div>
<div class="list-item">
<code>[[mirepoix]]</code> → dtag: <code>mirepoix</code>
(display: mirepoix)
</div>
<h4>Hashtags (3)</h4>
<div class="list-item">
<code>#testhashtag</code>
</div>
<div class="list-item">
<code>#inlinehashtag</code>
</div>
<div class="list-item">
<code>#bullet</code>
</div>
<h4>Links (7)</h4>
<div class="list-item">
<a href="https://youtube.com/shorts/ZWfvChb-i0w" target="_blank">Youtube link with pic</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://open.spotify.com/episode/1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ" target="_blank">Spotify link with pic</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3" target="_blank">Audio link with pic</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://v.nostr.build/MTjaYib4upQuf8zn.mp4" target="_blank">Video link with pic</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html" target="_blank">Welt Online link</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://theforest.nostr1.com" target="_blank">wss://theforest.nostr1.com</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png" target="_blank">https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png</a>
<span class="warning-badge">External</span>
</div>
<h4>Media URLs (3)</h4>
<div class="list-item">
<a href="https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png" target="_blank">https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png</a>
</div>
<div class="list-item">
<a href="https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png" target="_blank">https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png</a>
</div>
<div class="list-item">
<a href="https://v.nostr.build/MTjaYib4upQuf8zn.mp4" target="_blank">https://v.nostr.build/MTjaYib4upQuf8zn.mp4</a>
</div>
</div>
</div>
<!-- AsciiDoc Section -->
<div class="section">
<h2>AsciiDoc Document Test <span class="success-badge">✓ Parsed</span></h2>
<div class="tabs">
<button class="tab active" onclick="showTab('ad-overview')">Overview</button>
<button class="tab" onclick="showTab('ad-original')">Original Content</button>
<button class="tab" onclick="showTab('ad-rendered')">Rendered Output</button>
<button class="tab" onclick="showTab('ad-metadata')">Metadata</button>
</div>
<div id="ad-overview" class="tab-content active">
<div class="stats">
<div class="stat-card">
<div class="number">5</div>
<div class="label">Nostr Links</div>
</div>
<div class="stat-card">
<div class="number">2</div>
<div class="label">Wikilinks</div>
</div>
<div class="stat-card">
<div class="number">4</div>
<div class="label">Hashtags</div>
</div>
<div class="stat-card">
<div class="number">8</div>
<div class="label">Links</div>
</div>
<div class="stat-card">
<div class="number">2</div>
<div class="label">Media URLs</div>
</div>
<div class="stat-card">
<div class="number">No</div>
<div class="label">Has LaTeX</div>
</div>
<div class="stat-card">
<div class="number">No</div>
<div class="label">Has Music</div>
</div>
</div>
<h3>Frontmatter</h3>
<div class="metadata-grid">
<div class="metadata-item">
<strong>title</strong>
<code>&quot;AsciiDoc Test Document&quot;</code>
</div>
<div class="metadata-item">
<strong>author</strong>
<code>&quot;Kismet Lee&quot;</code>
</div>
<div class="metadata-item">
<strong>description</strong>
<code>&quot;Test description&quot;</code>
</div>
<div class="metadata-item">
<strong>date</strong>
<code>&quot;2021-10-31&quot;</code>
</div>
<div class="metadata-item">
<strong>version</strong>
<code>&quot;2.9&quot;</code>
</div>
<div class="metadata-item">
<strong>status</strong>
<code>&quot;Draft&quot;</code>
</div>
<div class="metadata-item">
<strong>keywords</strong>
<code>&quot;AsciiDoc, Test, Document&quot;</code>
</div>
<div class="metadata-item">
<strong>category</strong>
<code>&quot;Test&quot;</code>
</div>
<div class="metadata-item">
<strong>language</strong>
<code>&quot;English&quot;</code>
</div>
</div>
</div>
<div id="ad-original" class="tab-content">
<h3>Original AsciiDoc Content</h3>
<div class="code-block">
<pre>= AsciiDoc Test Document
Kismet Lee
2.9, October 31, 2021: Fall incarnation
:description: Test description
:author: Kismet Lee
:date: 2021-10-31
:version: 2.9
:status: Draft
:keywords: AsciiDoc, Test, Document
:category: Test
:language: English
== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z
nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj
nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh
nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg
=== Hashtag
#testhashtag at the start of the line and #inlinehashtag in the middle
=== Wikilinks
[[NKBIP-01|Specification]] and [[mirepoix]]
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
https://open.spotify.com/episode/1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:https://open.spotify.com/episode/1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]$` and `$[\sqrt{x^2+1}\]$` and `$\color{blue}{X \sim Normal \; (\mu,\sigma^2)}$`
== LaTeX outside of code
This is a latex code block $$\mathbb{N} = \{ a \in \mathbb{Z} : a &gt; 0 \}$$ and another that is an inline latex $\color{green}{X \sim Normal \; (\mu,\sigma^2)}$ and should be green
== Footnotes
Here&#039;s a simple footnote,footnote:[This is the first footnote.] and here&#039;s a longer one.footnote:[Here&#039;s one with multiple paragraphs and code.]
== Anchor links
&lt;&lt;bullet-list,Link to bullet list section&gt;&gt;
== Formatting
=== Strikethrough
[line-through]#The world is flat.# We now know that the world is round. This should not be ~struck~ through.
=== Bold
This is *bold* text. So is this *bold* text.
=== Italic
This is _italic_ text. So is this _italic_ text.
=== Task List
* [x] Write the press release
* [ ] Update the website
* [ ] Contact the media
=== Emoji shortcodes
Gone camping! :tent: Be back soon.
That is so funny! :joy:
=== Marking and highlighting text
I need to highlight these [highlight]#very important words#.
=== Subscript and Superscript
H~2~O
X^2^
=== Delimiter
based upon a -
&#039;&#039;&#039;
based upon a *
&#039;&#039;&#039;
=== Quotes
[quote]
____
This is a single line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
____
[quote]
____
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
____
</pre>
</div>
</div>
<div id="ad-rendered" class="tab-content">
<h3>Rendered HTML Output</h3>
<div class="rendered-output">
<p>== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols="<,^,>"]
|===
|Syntax|Description|Test Text
|Header|Title|Here's this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols="<,^,>"]
|===
|Syntax|Description|Test Text
|Header|Title|Here's this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
and `$[\sqrt{x^2+1}\]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols="<,^,>"]
|===
|Syntax|Description|Test Text
|Header|Title|Here's this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols="<,^,>"]
|===
|Syntax|Description|Test Text
|Header|Title|Here's this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
and and `$\color{blue}{X \sim Normal \; (\mu,\sigma^2)}== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols="<,^,>"]
|===
|Syntax|Description|Test Text
|Header|Title|Here's this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols="<,^,>"]
|===
|Syntax|Description|Test Text
|Header|Title|Here's this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
and `$[\sqrt{x^2+1}\]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols="<,^,>"]
|===
|Syntax|Description|Test Text
|Header|Title|Here's this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols="1,2"]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols="<,^,>"]
|===
|Syntax|Description|Test Text
|Header|Title|Here's this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
"id": "<event_id>",
"pubkey": "<event_originator_pubkey>",
"created_at": 1725087283,
"kind": 30040,
"tags": [
["d", "aesop's-fables-by-aesop"],
["title", "Aesop's Fables"],
["author", "Aesop"],
],
"sig": "<event_signature>"
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): 'npub' | 'nprofile' | 'nevent' | 'naddr' | 'note' | null {
if (id.startsWith('npub')) return 'npub';
if (id.startsWith('nprofile')) return 'nprofile';
if (id.startsWith('nevent')) return 'nevent';
if (id.startsWith('naddr')) return 'naddr';
if (id.startsWith('note')) return 'note';
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} & \frac{1}{6} & 0 \\[0.3em]
\frac{5}{6} & 0 & \frac{1}{6} \\[0.3em]
0 & \frac{5}{6} & \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} & \quad \text{when $d_{ij} \leq 160$}\\
0 & \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: "Heinrich Nicol Philipp zu Seibis den 30 Junius 1784"
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
and and
== LaTeX outside of code
This is a latex code block $$\mathbb{N} = \{ a \in \mathbb{Z} : a > 0 \}$$ and another that is an inline latex $\color{green}{X \sim Normal \; (\mu,\sigma^2)}$ and should be green
== Footnotes
Here's a simple footnote,footnote:[This is the first footnote.] and here's a longer one.footnote:[Here's one with multiple paragraphs and code.]
== Anchor links
<<bullet-list,Link to bullet list section>>
== Formatting
=== Strikethrough
[line-through]hashtag:the[#The] world is flat.# We now know that the world is round. This should not be ~struck~ through.
=== Bold
This is *bold* text. So is this *bold* text.
=== Italic
This is _italic_ text. So is this _italic_ text.
=== Task List
* [x] Write the press release
* [ ] Update the website
* [ ] Contact the media
=== Emoji shortcodes
Gone camping! :tent: Be back soon.
That is so funny! :joy:
=== Marking and highlighting text
I need to highlight these [highlight]hashtag:very[#very] important words#.
=== Subscript and Superscript
H~2~O
X^2^
=== Delimiter
based upon a -
'''
based upon a *
'''
=== Quotes
[quote]
____
This is a single line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
____
[quote]
____
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
____
</p>
</div>
<details style="margin-top: 15px;">
<summary style="cursor: pointer; color: #3498db; font-weight: 500;">View Raw HTML</summary>
<div class="code-block" style="margin-top: 10px;">
<pre>&lt;p&gt;== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
and `$[\sqrt{x^2+1}\]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
and and `$\color{blue}{X \sim Normal \; (\mu,\sigma^2)}== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
and `$[\sqrt{x^2+1}\]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
`$[ x^n + y^n = z^n \]== Bullet list
This is a test unordered list with mixed bullets:
* First item with a number 2. in it
* Second item
* Third item
** Indented item
** Indented item
* Fourth item
Another unordered list:
* 1st item
* 2nd item
* third item containing _italic_ text
** indented item
** second indented item
* fourth item
This is a test ordered list with indented items:
. First item
. Second item
. Third item
.. Indented item
.. Indented item
. Fourth item
Ordered list where everything has no number:
. First item
. Second item
. Third item
. Fourth item
This is a mixed list with indented items:
. First item
. Second item
. Third item
* Indented item
* Indented item
. Fourth item
This is another mixed list with indented items:
* First item
* Second item
* Third item
. Indented item
. Indented item
* Fourth item
== Headers
=== Third-level header
==== Fourth-level header
===== Fifth-level header
====== Sixth-level header
== Media and Links
=== Nostr address
This should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
This is also plaintext:
npub1gv069u6q7zkl393ad47xutpqmyfj0rrfrlnqnlfc2ld38k8nnl4st9wa6q
These should be turned into links:
link:nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l[naddr1qv...]
link:nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z[npub1l5s...]
link:nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj[nevent1q...]
link:nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh[nprofile...]
link:nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg[note1txy...]
=== Hashtag
hashtag:testhashtag[#testhashtag] at the start of the line and hashtag:inlinehashtag[#inlinehashtag] in the middle
=== Wikilinks
WIKILINK:nkbip-01|Specification and WIKILINK:mirepoix|mirepoix
=== URL
https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html
link:https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html[Welt Online link]
this should render as plaintext: `http://www.example.com`
this should be a hyperlink: www.example.com
this should be a hyperlink to the http URL with the same address, so wss://theforest.nostr1.com should render like link:wss://theforest.nostr1.com[https://theforest.nostr1.com]
=== Images
https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png
image::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[test image, width=100%]
=== Media
==== YouTube
https://youtube.com/shorts/ZWfvChb-i0w
link:https://youtube.com/shorts/ZWfvChb-i0w[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Youtube link with pic]]
==== Spotify
MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ
link:MEDIA:spotify:episode:1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Spotify link with pic]]
==== Audio
MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3
link:MEDIA:audio:https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Audio link with pic]]
==== Video
MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4
link:MEDIA:video:https://v.nostr.build/MTjaYib4upQuf8zn.mp4[image:https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png[Video link with pic]]
== Tables
=== Orderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== Unorderly
[cols=&quot;1,2&quot;]
|===
|Syntax|Description
|Header|Title
|Paragraph|Text
|===
=== With alignment
[cols=&quot;&lt;,^,&gt;&quot;]
|===
|Syntax|Description|Test Text
|Header|Title|Here&#039;s this
|Paragraph|Text|And more
|===
== Code blocks
=== json
[source,json]
----
{
&quot;id&quot;: &quot;&lt;event_id&gt;&quot;,
&quot;pubkey&quot;: &quot;&lt;event_originator_pubkey&gt;&quot;,
&quot;created_at&quot;: 1725087283,
&quot;kind&quot;: 30040,
&quot;tags&quot;: [
[&quot;d&quot;, &quot;aesop&#039;s-fables-by-aesop&quot;],
[&quot;title&quot;, &quot;Aesop&#039;s Fables&quot;],
[&quot;author&quot;, &quot;Aesop&quot;],
],
&quot;sig&quot;: &quot;&lt;event_signature&gt;&quot;
}
----
=== typescript
[source,typescript]
----
/**
* Get Nostr identifier type
*/
function getNostrType(id: string): &#039;npub&#039; | &#039;nprofile&#039; | &#039;nevent&#039; | &#039;naddr&#039; | &#039;note&#039; | null {
if (id.startsWith(&#039;npub&#039;)) return &#039;npub&#039;;
if (id.startsWith(&#039;nprofile&#039;)) return &#039;nprofile&#039;;
if (id.startsWith(&#039;nevent&#039;)) return &#039;nevent&#039;;
if (id.startsWith(&#039;naddr&#039;)) return &#039;naddr&#039;;
if (id.startsWith(&#039;note&#039;)) return &#039;note&#039;;
return null;
}
----
=== shell
[source,shell]
----
mkdir new_directory
cp source.txt destination.txt
----
=== LaTeX
[source,latex]
----
$$
M =
\begin{bmatrix}
\frac{5}{6} &amp; \frac{1}{6} &amp; 0 \\[0.3em]
\frac{5}{6} &amp; 0 &amp; \frac{1}{6} \\[0.3em]
0 &amp; \frac{5}{6} &amp; \frac{1}{6}
\end{bmatrix}
$$
----
[source,latex]
----
$$
f(x)=
\begin{cases}
1/d_{ij} &amp; \quad \text{when $d_{ij} \leq 160$}\\
0 &amp; \quad \text{otherwise}
\end{cases}
$$
----
=== ABC Notation
[source,abc]
----
X:1
T:Ohne Titel
C:Aufgezeichnet 1784
A:Seibis nahe Lichtenberg in Oberfranken
S:Handschrift, bezeichnet und datiert: &quot;Heinrich Nicol Philipp zu Seibis den 30 Junius 1784&quot;
M:4/4
L:1/4
K:D
dd d2 | ee e2 | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
|:\
fg ad | cB cA | fg ad | cB cA |\
dd d2 | ee e2 | fg ad | ed/c/ d2 :|
----
=== PlantUML
[source,plantuml]
----
@startuml
Alice -&gt; Bob: Authentication Request
Bob --&gt; Alice: Authentication Response
@enduml
----
=== BPMN
[source,plantuml]
----
@startbpmn
start
:Task 1;
:Task 2;
stop
@endbpmn
----
== LaTeX
=== LaTeX in inline-code
and and
== LaTeX outside of code
This is a latex code block $$\mathbb{N} = \{ a \in \mathbb{Z} : a &gt; 0 \}$$ and another that is an inline latex $\color{green}{X \sim Normal \; (\mu,\sigma^2)}$ and should be green
== Footnotes
Here&#039;s a simple footnote,footnote:[This is the first footnote.] and here&#039;s a longer one.footnote:[Here&#039;s one with multiple paragraphs and code.]
== Anchor links
&lt;&lt;bullet-list,Link to bullet list section&gt;&gt;
== Formatting
=== Strikethrough
[line-through]hashtag:the[#The] world is flat.# We now know that the world is round. This should not be ~struck~ through.
=== Bold
This is *bold* text. So is this *bold* text.
=== Italic
This is _italic_ text. So is this _italic_ text.
=== Task List
* [x] Write the press release
* [ ] Update the website
* [ ] Contact the media
=== Emoji shortcodes
Gone camping! :tent: Be back soon.
That is so funny! :joy:
=== Marking and highlighting text
I need to highlight these [highlight]hashtag:very[#very] important words#.
=== Subscript and Superscript
H~2~O
X^2^
=== Delimiter
based upon a -
&#039;&#039;&#039;
based upon a *
&#039;&#039;&#039;
=== Quotes
[quote]
____
This is a single line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
____
[quote]
____
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
This is a multi line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj
____
&lt;/p&gt;</pre>
</div>
</details>
</div>
<div id="ad-metadata" class="tab-content">
<h3>Extracted Metadata</h3>
<h4>Nostr Links (5)</h4>
<div class="list-item">
<strong>naddr</strong>: <code>naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l</code>
- nostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l
</div>
<div class="list-item">
<strong>npub</strong>: <code>npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z</code>
- nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z
</div>
<div class="list-item">
<strong>nevent</strong>: <code>nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj</code>
- nostr:nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj
</div>
<div class="list-item">
<strong>nprofile</strong>: <code>nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh</code>
- nostr:nprofile1qqsxhedgkuneycxpcdjlg6tgtxdy8gurdz64nq2h0flc288a0jag98qguy3nh
</div>
<div class="list-item">
<strong>note</strong>: <code>note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg</code>
- nostr:note1txyefcha2xt3pgungx4k6j077dsteyef6hzpyuuku00s4h0eymzq4k33yg
</div>
<h4>Wikilinks (2)</h4>
<div class="list-item">
<code>[[NKBIP-01|Specification]]</code> → dtag: <code>nkbip-01</code>
(display: Specification)
</div>
<div class="list-item">
<code>[[mirepoix]]</code> → dtag: <code>mirepoix</code>
(display: mirepoix)
</div>
<h4>Hashtags (4)</h4>
<div class="list-item">
<code>#testhashtag</code>
</div>
<div class="list-item">
<code>#inlinehashtag</code>
</div>
<div class="list-item">
<code>#the</code>
</div>
<div class="list-item">
<code>#very</code>
</div>
<h4>Links (8)</h4>
<div class="list-item">
<a href="https://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html" target="_blank">Welt Online link</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://youtube.com/shorts/ZWfvChb-i0w" target="_blank">Youtube link with pic</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://open.spotify.com/episode/1GSZFA8vWltPyxYkArdRKx?si=bq6-az28TcuP596feTkRFQ" target="_blank">Spotify link with pic</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3" target="_blank">Audio link with pic</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://v.nostr.build/MTjaYib4upQuf8zn.mp4" target="_blank">Video link with pic</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://theforest.nostr1.com" target="_blank">https://theforest.nostr1.com</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png" target="_blank">https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png</a>
<span class="warning-badge">External</span>
</div>
<div class="list-item">
<a href="https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png" target="_blank">https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/YouTube_social_white_square_%282024%29.svg/960px-YouTube_social_white_square_%282024%29.svg.png</a>
<span class="warning-badge">External</span>
</div>
<h4>Media URLs (2)</h4>
<div class="list-item">
<a href="https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png" target="_blank">https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png</a>
</div>
<div class="list-item">
<a href="https://v.nostr.build/MTjaYib4upQuf8zn.mp4" target="_blank">https://v.nostr.build/MTjaYib4upQuf8zn.mp4</a>
</div>
</div>
</div>
</div>
<script>
function showTab(tabId) {
// Hide all tab contents
const allContents = document.querySelectorAll('.tab-content');
allContents.forEach(content => content.classList.remove('active'));
// Remove active class from all tabs
const allTabs = document.querySelectorAll('.tab');
allTabs.forEach(tab => tab.classList.remove('active'));
// Show selected tab content
const selectedContent = document.getElementById(tabId);
if (selectedContent) {
selectedContent.classList.add('active');
}
// Add active class to clicked tab
event.target.classList.add('active');
}
</script>
</body>
</html>