A Jsonic syntax plugin that parses Markdown text into objects or arrays, with support for headers, quoted fields, custom delimiters, streaming, and strict/non-strict modes. Available for TypeScript and Go.
![]() | This open source module is sponsored and supported by Voxgig. |
|---|
TypeScript
import{Jsonic}from'jsonic'import{Markdown}from'@jsonic/markdown'constparse=Jsonic.make().use(Markdown)parse("name,age\nAlice,30\nBob,25")// [{ name: 'Alice', age: '30' }, { name: 'Bob', age: '25' }]parse('a,b\n1,"hello, world"')// [{ a: '1', b: 'hello, world' }]Go
import markdown "github.com/jsonicjs/markdown/go"result, _:=markdown.Parse("name,age\nAlice,30\nBob,25")
// [{name:Alice age:30} {name:Bob age:25}]Full documentation following the Diataxis framework (tutorials, how-to guides, explanation, reference):
Copyright (c) 2021-2025 Richard Rodger and other contributors, MIT License.
