Aaron Pham
2024-11-12 92676d746e822f1451fad05c294ca7d664b3de5f
feat(ofm): support parsing footnotes in table (#1581)

1 files modified
2 ■■■ changed files
quartz/plugins/transformers/ofm.ts 2 ●●● patch | view | raw | blame | history
quartz/plugins/transformers/ofm.ts
@@ -117,7 +117,7 @@
export const tableRegex = new RegExp(/^\|([^\n])+\|\n(\|)( ?:?-{3,}:? ?\|)+\n(\|([^\n])+\|\n?)+/gm)
// matches any wikilink, only used for escaping wikilinks inside tables
export const tableWikilinkRegex = new RegExp(/(!?\[\[[^\]]*?\]\])/g)
export const tableWikilinkRegex = new RegExp(/(!?\[\[[^\]]*?\]\]|\[\^[^\]]*?\])/g)
const highlightRegex = new RegExp(/==([^=]+)==/g)
const commentRegex = new RegExp(/%%[\s\S]*?%%/g)