tickets
All repositories: gitoria
401 B
// tests/markdown.hl — prints markdown.hl's blocks for the gate (ticket #6): MD_INPUT is a JSON// array of Markdown texts; the output is ONE line, a JSON array of their block lists.import { env } from 'hl:proc'import { markdownBlocks } from '../markdown.hl'let inputs = JSON.parse(env('MD_INPUT'))let out = []for (t of inputs) { out.push(markdownBlocks(t)) }console.log(JSON.stringify(out))
Branches
- mainmain branch