Closed Quasaur closed 1 month ago
you're missing this commit https://github.com/jackyzha0/quartz/commit/2154d36d9993e128faaa6471cdae305cca3d810d
git remote -v origin git@github.com:quasaur/thoughts.git (fetch) origin git@github.com:quasaur/thoughts.git (push) upstream https://github.com/jackyzha0/quartz.git (fetch) upstream https://github.com/jackyzha0/quartz.git (push)
git fetch upstream
remote: Enumerating objects: 297, done. remote: Counting objects: 100% (243/243), done. remote: Compressing objects: 100% (100/100), done. remote: Total 297 (delta 176), reused 190 (delta 141), pack-reused 54 Receiving objects: 100% (297/297), 209.17 KiB | 746.00 KiB/s, done. Resolving deltas: 100% (194/194), completed with 68 local objects. From https://github.com/jackyzha0/quartz
...still getting the error.
RESOLVED...grabbed and inserted the new file contents from your code.
when i run
tsc
in my Quartz repo i get the an error on the following code:
const tagRegex = new RegExp( /(?:^| )#((?:[-_\p{L}\p{Emoji}\p{M}\d])+(?:\/[-_\p{L}\p{Emoji}\p{M}\d]+)*)/, "gu", )
Error: "quartz/plugins/transformers/ofm.ts:133:24 - error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set.
133 /(?:^| )#((?:[-\p{L}\p{Emoji}\p{M}\d])+(?:\/[-\p{L}\p{Emoji}\p{M}\d]+)*)/,"
Why is it doing this and what do i do to fix it?
Thanks!