AsaiToshiya on Nostr: ``` <script type="module"> import asciidoctor from '' const Asciidoctor = ...
Published at
2024-10-10 08:34:49Event JSON
{
"id": "feee4b5897eb8c5d128ed9c805ad0fd21febd4bd0b29652c2f3f26de4eef89bd",
"pubkey": "0a2f19dc1a185792c3b0376f1d7f9971295e8932966c397935a5dddd1451a25a",
"created_at": 1728549289,
"kind": 1,
"tags": [
[
"r",
"https://cdn.jsdelivr.net/npm/asciidoctor@3.0.4/+esm"
],
[
"r",
"http://asciidoctor.org"
],
[
"r",
"https://opalrb.com"
],
[
"t",
"asciidoctor"
]
],
"content": "```\n\u003cscript type=\"module\"\u003e\nimport asciidoctor from 'https://cdn.jsdelivr.net/npm/asciidoctor@3.0.4/+esm'\n\nconst Asciidoctor = asciidoctor()\nconst content = 'http://asciidoctor.org[*Asciidoctor*] ' +\n 'running on https://opalrb.com[_Opal_] ' +\n 'brings AsciiDoc to Node.js!'\nconst html = Asciidoctor.convert(content)\nconsole.log(html)\n\u003c/script\u003e\n```\n\n#asciidoctor.js",
"sig": "f48a93827dc8a6c10acaad1835ca94e37db66b06f9aed655a33c197e43c18808001828e27ab4429441f0f84f0a60a9d65dc5a829790e03ef425d7cdd09a4cf9f"
}