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.
60 lines
12 KiB
60 lines
12 KiB
{ |
|
"kind": 30041, |
|
"content": "= AsciiDoc Test Document\nKismet Lee \n2.9, October 31, 2021: Fall incarnation\n:description: Test description\n:author: Kismet Lee\n:date: 2021-10-31\n:version: 2.9\n:status: Draft\n:keywords: AsciiDoc, Test, Document\n:category: Test\n:language: English\n\n== Bullet list\n\nThis is a test unordered list with mixed bullets:\n\n* First item with a number 2. in it\n* Second item\n* Third item\n** Indented item\n** Indented item\n* Fourth item\n\nAnother unordered list:\n\n* 1st item\n* 2nd item\n* third item containing _italic_ text\n** indented item\n** second indented item\n* fourth item\n\nThis is a test ordered list with indented items:\n\n. First item\n. Second item\n. Third item\n.. Indented item\n.. Indented item\n. Fourth item\n\nOrdered list where everything has no number:\n\n. First item\n. Second item\n. Third item\n. Fourth item\n\nThis is a mixed list with indented items:\n\n. First item\n. Second item\n. Third item\n* Indented item\n* Indented item\n. Fourth item\n\nThis is another mixed list with indented items:\n\n* First item\n* Second item\n* Third item\n. Indented item\n. Indented item\n* Fourth item\n\n== Headers\n\n=== Third-level header\n\n==== Fourth-level header\n\n===== Fifth-level header\n\n[discrete]\n====== Sixth-level header\n\nThis discrete header shouldn't become a section. It should just be rendered in the header style.\n\n== Media and Links\n\n=== Nostr address\n\nThis should be ignored and rendered as plaintext: naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagss...\n\nThis is also plaintext: npub1gv069uwhateverbunchofnumbers\n\nAnd this should stay plaintext, as it is just a prefix with no address: nostr:\n\nThis nostr address should be ignored, since it is in a URL https://notanostraddress/nevent1qvzqqqqqqypzp382htsmu08k277ps40wqhnfm60st89h5pvjyutghq9cjasuh38qqythwumn8ghj7un9d3shjtnswf5k6ctv9ehx2ap0qqsysletg3lqnl4uy59xsj4rp9rgw67wg23l827f4uvn5ckn20fuxcq45d8pj\n\nThese should be turned into links:\nnostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l at the start of the line\n\neven this one nostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z in the middle of the line\n\nThese should be turned into links, but should only have one \"nostr:\" prefix:\n\nnostr:naddr1qvzqqqr4gupzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnvv9hxgtcqy4sj6ar9wd6xv6tvv5kkvmmj94kkzuntv3hhwm3dvfuj6enyxgcrset98p3nsve2v5l\n\nnostr:npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z\n\nnostr:nevent1qqs07p6r33p7yslp6lzk59k2fwlkudhnm4mg7chz5a0apeqfeluuyqsyay40e\n\nnostr:nprofile1qqsd6ejdteqpvse63ntf7qz6u9yqspp4z7ymt8094urzwm0x2ceaxxg5g7l0j\n\nnostr:note1uuw73zj2hmrtfqqzzff526msjvnl90n24q7z2lz6k4a4gknz94rqvl2846\n\n=== Hashtag\n\n#testhashtag at the start of the line and #inlinehashtag in the middle\n\n=== Wikilinks\n\n[[NKBIP-01|NKBIP-01 Specification]] and [[mirepoix]]\n\n=== URL\n\nhttps://www.welt.de/politik/ausland/article69a7ca00ad41f3cd65a1bc63/iran-drohte-jedes-schiff-zu-verbrennen-trump-will-oel-tanker-durch-strasse-von-hormus-eskortieren.html\n\nlink: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]\n\nthis should render as plaintext: `http://www.example.com`/\n\nthis should be a hyperlink to the http URL with the same address link:https://theforest.nostr1.com[wss://theforest.nostr1.com]\n\n=== Images\n\nhttps://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png\n\nimage::https://blog.ronin.cloud/content/images/size/w2000/2022/02/markdown.png[Markdown example,width=400]\n\nHere is an inline image:https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg[Linux,25,35]. This only works in AsciiDoc, not Markdown.\n\n=== Media\n\n==== YouTube\n\nNormal\n\nhttps://www.youtube.com/watch?v=KGIAS0cslSU\n\nhttps://youtu.be/KGIAS0cslSU\n\nvideo::KGIAS0cslSU[youtube]\n\nShorts\n\nhttps://www.youtube.com/shorts/s-BQhXdCs8Y\n\nvideo::s-BQhXdCs8Y[youtube]\n\n==== Spotify\n\nhttps://open.spotify.com/episode/1GSZFA8vWltPyxYkArdRKx\n\nlink:https://open.spotify.com/episode/1GSZFA8vWltPyxYkArdRKx[Spotify example]\n\n==== Audio\n\nhttps://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3\n\naudio::https://media.blubrry.com/takeituneasy/ins.blubrry.com/takeituneasy/lex_ai_rick_beato.mp3[Audio example]\n\n==== Video\n\nhttps://v.nostr.build/MTjaYib4upQuf8zn.mp4\n\nvideo::https://v.nostr.build/MTjaYib4upQuf8zn.mp4[Video example]\n\n== Tables\n\n=== Orderly\n\n[cols=\"1,2\"]\n|===\n|Syntax|Description\n\n|Header\n|Title\n\n|Paragraph\n|Text\n|===\n\n=== Unorderly\n\n[cols=\"1,2\"]\n|===\n|Syntax|Description\n\n|Header\n|Title\n\n|Paragraph\n|Text\n|===\n\n=== With alignment\n\n[cols=\"<,^,>\"]\n|===\n|Syntax|Description|Test Text\n\n|Header\n|Title\n|Here's this\n\n|Paragraph\n|Text\n|And more\n|===\n\n[grid=rows]\n|===\n|Column 1, header row |Column 2, header row |Column 3, header row\n\n|Cell in column 1, row 2\n|Cell in column 2, row 2\n|Cell in column 3, row 2\n\n|Cell in column 1, row 3\n|Cell in column 2, row 3\n|Cell in column 3, row 3\n|===\n\n[grid=cols]\n|===\n|Column 1, header row |Column 2, header row |Column 3, header row\n\n|Cell in column 1, row 2\n|Cell in column 2, row 2\n|Cell in column 3, row 2\n\n|Cell in column 1, row 3\n|Cell in column 2, row 3\n|Cell in column 3, row 3\n|===\n\n[grid=none]\n|===\n|Column 1, header row |Column 2, header row |Column 3, header row\n\n|Cell in column 1, row 2\n|Cell in column 2, row 2\n|Cell in column 3, row 2\n\n|Cell in column 1, row 3\n|Cell in column 2, row 3\n|Cell in column 3, row 3\n|===\n\n[width=75%]\n|===\n|Column 1, header row |Column 2, header row |Column 3, header row\n\n|Cell in column 1, row 2\n|Cell in column 2, row 2\n|Cell in column 3, row 2\n\n|Cell in column 1, row 3\n|Cell in column 2, row 3\n|Cell in column 3, row 3\n|===\n\n[%autowidth.stretch]\n|===\n|Column 1, header row |Column 2, header row |Column 3, header row\n\n|Cell in column 1, row 2\n|Cell in column 2, row 2\n|Cell in column 3, row 2\n\n|Cell in column 1, row 3\n|Cell in column 2, row 3\n|Cell in column 3, row 3\n|===\n\n[cols=\"5,3*\"]\n|===\n|Column 1 |Column 2 |Column 3 |Column 4\n\n|Cell in column 1\n|Cell in column 2\n|Cell in column 3\n|Cell in column 4\n|===\n\n== Code blocks\n\nThis is inline code: `console.log(\"Hello, world!\");` and these this is inline code, too: `console.log(\"Hello, world! This is a very long inline code that should not be split into multiple lines.\");`\n\n=== json\n\n[source,json]\n----\n{\n \"id\": \"<event_id>\",\n \"pubkey\": \"<event_originator_pubkey>\",\n \"created_at\": 1725087283,\n \"kind\": 30040,\n \"tags\": [\n [\"d\", \"aesop's-fables-by-aesop\"],\n [\"title\", \"Aesop's Fables\"],\n [\"author\", \"Aesop\"],\n ],\n \"sig\": \"<event_signature>\"\n}\n----\n\n=== shell\n\n[source,shell]\n----\nmkdir new_directory\ncp source.txt destination.txt\n\n----\n\n### Inline-code\n\n`this is code` and `this is also code`\n\n== Footnotes\n\nHere'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.]\n\n== Anchor links\n\n<<_bullet_list,Link to bullet list section>>\n\n== Formatting\n\n=== Strikethrough\n\n~~The world is flat.~~ We now know that the world is round. This should not be ~struck~ through.\n\n=== Bold\n\nThis is *bold* text. So is this *bold* text.\n\n=== Italic\n\nThis is _italic_ text. So is this _italic_ text.\n\n=== Bold and italic Mixed\n\nThis is **bold and _italic_** text.\nThis is _italic and **bold**_ text.\n\n=== Task List\n\n* [x] Write the press release\n* [ ] Update the website\n* [ ] Contact the media\n\n=== Emoji shortcodes\n\nGone camping! :tent: Be back soon.\n\nThat is so funny! :joy:\n\n=== Marking and highlighting text\n\nI need to highlight these [highlight]#very important words#.\n\n=== Subscript and Superscript\n\nH~2~O\n\nX^2^\n\n=== Delimiter\n\nbased upon a single quote\n\n'''\n\nbased upon a dashes\n\n---\n\n=== Quotes\n\n[quote]\n____\nThis is a single line blockequote sdfjsdlfkjasldkfjsdölfkjsdlfkjsadlöfkjsdlöfkjsadölfkjsdlf kjsldfkjsdalkjslkdfjlöskdfjlösdkjfsldkfjsöldkfjlösdkfjalsd kfjlsdkfjlödkfjlaksdfjlkjdfslkjalsdkfjlasdkfj alsdkjflskdfj sdfklj\n____\n\n[quote,Monty Python and the Holy Grail]\n____\nDennis: Come and see the violence inherent in the system. Help! Help! I'm being repressed!\n\nKing Arthur: Bloody peasant!\n\nDennis: Oh, what a giveaway! Did you hear that? Did you hear that, eh? That's what I'm on about! Did you see him repressing me? You saw him, Didn't you?\n\n> We should also support normal quotes.\n\n\n____\n\n=== Green-text\n\n>This is green-text\n>It differs from quotes because there is no space between the chevron and the first letter in the line.\n>Should match greentext from 4chan.\n\n=== Keyboard shortcuts\n\n|===\n|Shortcut |Purpose\n\n|kbd:[F11]\n|Toggle fullscreen\n\n|kbd:[Ctrl+T]\n|Open a new tab\n\n|kbd:[Ctrl+Shift+N]\n|New incognito window\n\n|kbd:[\\ ]\n|Used to escape characters\n\n|kbd:[Ctrl+\\]]\n|Jump to keyword\n\n|kbd:[Ctrl + +]\n|Increase zoom\n|===\n\n== Admonitions\n\n[NOTE]\n====\nThis is a note.\n====\n\n[WARNING]\n====\nThis is a warning.\n====\n\n[TIP]\n====\nThis is a tip.\n====\n\n[IMPORTANT]\n====\nThis is an important message.\n====\n\n[CAUTION]\n====\nThis is a caution.\n====\n\nWARNING: Wolpertingers are known to nest in server racks.\nEnter at your own risk.\n\n== Sidebars\n\n[sidebar]\n====\nThis is a sidebar.\n====\n\n[sidebar]\nSidebars are used to visually separate auxiliary bits of content\nthat supplement the main text.\n\n.Optional Title\n****\nSidebars are used to visually separate auxiliary bits of content\nthat supplement the main text.\n\nTIP: They can contain any type of content.\n\n.Source code block in a sidebar\n[source,js]\n----\nconst { expect, expectCalledWith, heredoc } = require('../test/test-utils')\n----\n****\n\n== Examples\n\n.Optional title\n[example]\nThis is an example of an example block.\n\n.Onomatopoeia\n====\nThe book hit the floor with a *thud*.\n\nHe could hear doves *cooing* in the pine trees`' branches.\n====\n\n== Literal blocks\n\n[literal]\nerror: 1954 Forbidden search\nabsolutely fatal: operation lost in the dodecahedron of doom\nWould you like to try again? y/n\n\n....\nKismet: Where is the *defensive operations manual*?\n\nComputer: Calculating ...\nCan not locate object.\nYou are not authorized to know it exists.\n\nKismet: Did the werewolves tell you to say that?\n\nComputer: Calculating ...\n....", |
|
"tags": [ |
|
[ |
|
"d", |
|
"asciidoc-test-note" |
|
], |
|
[ |
|
"title", |
|
"Asciidoc Test Note" |
|
], |
|
[ |
|
"t", |
|
"testhashtag" |
|
], |
|
[ |
|
"t", |
|
"inlinehashtag" |
|
], |
|
[ |
|
"t", |
|
"very" |
|
], |
|
[ |
|
"t", |
|
"asciidoc" |
|
], |
|
[ |
|
"t", |
|
"test" |
|
], |
|
[ |
|
"p", |
|
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1" |
|
], |
|
[ |
|
"p", |
|
"0d97beae567fcec9c6574f1c6ef6126ea969d4992c3198e51c0fac52c5274a14" |
|
], |
|
[ |
|
"p", |
|
"dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319" |
|
], |
|
[ |
|
"p", |
|
"dc4cd086cd7ce5b1832adf4fdd1211289880d2c7e295bcb0e684c01acee77c06" |
|
], |
|
[ |
|
"client", |
|
"jumble" |
|
], |
|
[ |
|
"alt", |
|
"This event was published by https://jumble.imwald.eu." |
|
] |
|
], |
|
"pubkey": "645eb808ac7689f08b5143fbe7aa7289baad2e3bf069c81d2a22a0d3b3589c18", |
|
"id": "83930d105def65c84c766180cf934f040706a81c1bd864307ea1be07c7dd2e9d" |
|
} |