wip: fix: latex-environment belongs to paragraph
build / build (push) Successful in 1m27s

This commit is contained in:
2026-03-08 20:06:02 -06:00
parent 2198b5f409
commit 86db8d0fe2
3 changed files with 14 additions and 1 deletions
+5 -1
View File
@@ -2,13 +2,17 @@
const { parse } = require ("uniorg-parse/lib/parser.js");
const opts = {
trackPosition: true
}
async function main () {
const chunks = []
for await (const chunk of process.stdin) {
chunks.push (chunk)
}
const orgText = Buffer.concat (chunks).toString ("utf8")
process.stdout.write (JSON.stringify (parse (orgText)))
process.stdout.write (JSON.stringify (parse (orgText, opts)))
}
main ()