ttcMD: Changes link decoration to ~~ instead of ```

This commit is contained in:
2024-03-16 06:53:48 -06:00
parent 5e038ff5cf
commit 9cbd0a62ca
3 changed files with 12 additions and 10 deletions

View File

@@ -335,7 +335,7 @@ export const buildOnlyDefaultElements = () => {
(s, rx) => {
let preset,
[_, title, href] = s.match(new RegExp(rx, ""))!;
const match = title.match(/`{3}(cta|button)?(.*)/);
const match = title.match(/~{2}(cta|button)?(.*)/);
if (match) {
[_, preset, title] = match;