The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(ofm): support parsing footnotes in table (#1581)

authored by

Aaron Pham and committed by
GitHub
92676d74 18931969

+1 -1
+1 -1
quartz/plugins/transformers/ofm.ts
··· 117 117 export const tableRegex = new RegExp(/^\|([^\n])+\|\n(\|)( ?:?-{3,}:? ?\|)+\n(\|([^\n])+\|\n?)+/gm) 118 118 119 119 // matches any wikilink, only used for escaping wikilinks inside tables 120 - export const tableWikilinkRegex = new RegExp(/(!?\[\[[^\]]*?\]\])/g) 120 + export const tableWikilinkRegex = new RegExp(/(!?\[\[[^\]]*?\]\]|\[\^[^\]]*?\])/g) 121 121 122 122 const highlightRegex = new RegExp(/==([^=]+)==/g) 123 123 const commentRegex = new RegExp(/%%[\s\S]*?%%/g)