Skip to main content

Mapping: JSONL to Markdown

Read a JSONL file and render a Markdown document from it: the row template is rendered once per JSON line, rows are joined by the separator, and the result is optionally wrapped in a document header and footer.

Input

JSONL filerequired
Source JSONL file to read from.

Parameters

Row templaterequired

Text rendered once per JSON row. {key} placeholders are replaced with the value of that JSON key from the current row. Unknown keys and null values render as the empty string; nested objects and arrays render as their JSON string form.

Row separatorrequired

Text inserted between consecutive rendered rows (ex: a blank line, or a --- horizontal rule). Not written before the first row or after the last.

Document header

Written verbatim before the first row. Use it for a title, table of contents, etc. Leave empty to skip.

Document footer

Written verbatim after the last row. Leave empty to skip.

Output

Markdown file

Generated Markdown document: header, then one rendered template per JSON row joined by the separator, then footer.