How can I remove ">" from the internal links? #310
-
Hi, if I add a internal link to a heading, for example "[[#Heading 1]]", it is converted to "[[#Heading 1| > Heading 1]]" after uploading to the GitHub repository by Obsidian Publisher. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Sorry, it's the default Obsidian behavior. You can set a regex to remove it. |
Beta Was this translation helpful? Give feedback.
-
Hi Lisandra, Is it really the behavior of Obsidian? Because it changes when uploading to the repo so I assumed it was caused by Obsidian Publisher. Is it right? |
Beta Was this translation helpful? Give feedback.
-
Could you guide me how to remove it by Regex? |
Beta Was this translation helpful? Give feedback.
/\[{2}#(.*)\| > (.*)\]{2}/gi
→[[$1|$2]]