Emile Bangma
2024-03-18 7e22c38f8eaf8d9e3ae3a5b25f4611a5f4503b26
refs
author Emile Bangma <ewjbangma@hotmail.com>
Monday, March 18, 2024 01:16 +0000
committer GitHub <noreply@github.com>
Monday, March 18, 2024 01:16 +0000
commit7e22c38f8eaf8d9e3ae3a5b25f4611a5f4503b26
tree fd2a3644221f5ea70509df422554b9b82eb3131a tree | zip | gz
parent daa8796554dea41d6fbf81f4eccea58153a4e850 view | diff
fix(wikilinks): handle wikilinks inside tables seperately from other wikilinks (#1005)

* fix(wikilinks): handle wikilinks inside tables seperately from other wikilinks

* Prettier

* Cleaned up duplicate code

* Remove test logging

* Refactored and fixed for non-aliased wikilinks inside table

* Updated naming and comments

* Updated comment of wikilink regex

* Updated regex to match previous formatting

* Match table even if EOF is immediately after the table.

* Update quartz/plugins/transformers/ofm.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Change table escape replace to non-regex version

* Prettier

* Prettier

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
1 files modified
53 ■■■■■ changed files
quartz/plugins/transformers/ofm.ts 53 ●●●●● diff | view | raw | blame | history