Added source of table parser
parent
b41d9514d1
commit
d371f2f68a
|
@ -8,6 +8,11 @@ import {
|
||||||
tags as t,
|
tags as t,
|
||||||
} from "../deps.ts";
|
} from "../deps.ts";
|
||||||
|
|
||||||
|
// Forked from https://github.com/lezer-parser/markdown/blob/main/src/extension.ts
|
||||||
|
// MIT License
|
||||||
|
// Author: Marijn Haverbeke
|
||||||
|
// Change made: Avoid wiki links with aliases [[link|alias]] from being parsed as table row separators
|
||||||
|
|
||||||
function parseRow(
|
function parseRow(
|
||||||
cx: BlockContext,
|
cx: BlockContext,
|
||||||
line: string,
|
line: string,
|
||||||
|
|
Loading…
Reference in New Issue