Skip to content

Commit

Permalink
feat(ofm): support parsing footnotes in table (jackyzha0#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarnphm authored Nov 12, 2024
1 parent 1893196 commit 92676d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quartz/plugins/transformers/ofm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const wikilinkRegex = new RegExp(
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)
Expand Down

0 comments on commit 92676d7

Please sign in to comment.