As an alternative solution you can adapt the GitHub macro example I made at the end of this post:
Macros support <%current page%>
Advantages:
- You can just place something like
{{wikipedia}}in any page - You can set a custom command so that when you start tying /wiki it will print
{{wikipedia}} - You can style it with Hiccup (basically HTML/CSS with a Clojure-like syntax)
- Native i.e. no plugins needed
Disadvantages:
- It works only in Logseq while other Markdown editors will just display
{{wikipedia}} - If a Wikipedia URL is slightly different from your page name you won’t be able to manually adjust the link