Skip to content
Snippets Groups Projects
Commit b8cca2db authored by Elliot Kang's avatar Elliot Kang
Browse files

make parseJsonMarkdown exportable

parent 35e95921
Branches
Tags
No related merge requests found
......@@ -53,7 +53,7 @@ class OutputParserError extends Error {
* @param text A markdown block with JSON
* @returns parsed JSON object
*/
function parseJsonMarkdown(text: string) {
export function parseJsonMarkdown(text: string) {
text = text.trim();
const left_square = text.indexOf("[");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment