Export pure markdown notes without internal-links

Hi,
There is a workaround.

You could export your md file as another one without internal-links via the simple python code. (It could be any program language with regexp.)

...
# let [[Link Name]] ==> Link Name,  [[Link Name|Altr Name]] ==> Altr Name
text = re.sub("\[(?:\[|\[[^\]]*\|)([^\]\|]+)\]\]", r"\1", text)
...

e.g.

regex101: build, test, and debug regex

2 Likes