Support formatting using djot

This commit is contained in:
dtonon 2026-05-11 16:14:59 +01:00
parent ca02419b13
commit 1af92c8399
3 changed files with 435 additions and 100 deletions

13
package-lock.json generated
View file

@ -8,6 +8,7 @@
"name": "squalk",
"version": "0.0.1",
"dependencies": {
"@djot/djot": "^0.3.2",
"@nostr/gadgets": "npm:@jsr/nostr__gadgets@^0.1.8",
"@nostr/tools": "npm:@jsr/nostr__tools@^2.23.3"
},
@ -37,6 +38,18 @@
"vite": "^8.0.7"
}
},
"node_modules/@djot/djot": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@djot/djot/-/djot-0.3.2.tgz",
"integrity": "sha512-joMKR24B8rxueyFiJbpZAqEiypjvOyzTxzkhyr0q5mM/sUBaOD3unna/9IxtOotFugViyYlkIRaiXg3xM//zxg==",
"license": "MIT",
"bin": {
"djot": "lib/cli.js"
},
"engines": {
"node": ">=17.0.0"
}
},
"node_modules/@emnapi/core": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",