gitoriaLog in with ident

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitf12fa1bcf12fa1bcState of 2026-09-27, before the move to gitoriamref12fa1bc/tests/markdown.hl

401 B

  1. // tests/markdown.hl — prints markdown.hl's blocks for the gate (ticket #6): MD_INPUT is a JSON
  2. // array of Markdown texts; the output is ONE line, a JSON array of their block lists.
  3. import { env } from 'hl:proc'
  4. import { markdownBlocks } from '../markdown.hl'
  5. let inputs = JSON.parse(env('MD_INPUT'))
  6. let out = []
  7. for (t of inputs) { out.push(markdownBlocks(t)) }
  8. console.log(JSON.stringify(out))

Branches

Latest commits

  • f12fa1bcState of 2026-09-27, before the move to gitoriamre