mvdkwast / obsidian-copy-as-html

Obsidian plugin: copy document as HTML, including images
MIT License
42 stars 11 forks source link

Recognizing an Alias #39

Closed eb2ai closed 9 months ago

eb2ai commented 11 months ago

Currently, this will remove the wikilink brackets, which is excellent, but it would be even better if there were an option to parse everything out but the alias.

For instance the wikilink of [[Flintstone, Fredrick|Fred]]

Currently pastes as Flintstone, Fredrick|Fred

Ideally, we would have an option for it to paste as Fred

mvdkwast commented 11 months ago

Thanks for reporting this, and I fully agree. I probably won't have the opportunity to look into this before september, but I might be able to merge a pull request.

mvdkwast commented 9 months ago

I cannot reproduce this with Obsidian 1.4.11 :

[[Flintstone, Fredrick|Fred]]

renders to

<span class="internal-link">Fred</span>

Feel free to reopen if you can still reproduce it !