Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to just insert Wikipedia link #13

Open
rtm opened this issue Sep 22, 2023 · 1 comment
Open

Option to just insert Wikipedia link #13

rtm opened this issue Sep 22, 2023 · 1 comment

Comments

@rtm
Copy link

rtm commented Sep 22, 2023

My personal style is that instead of inserting blocks of text from Wikipedia, I like to just insert the link to the Wikipedia page. It would be lovely if this could be an option in your wonderful plugin.

@evanharmon1
Copy link

This is possible with the current version. In the plugin's settings, just update the Wikipedia Extract Template value to be something like:

{{searchTerm}}]({{url}}

I usually set it like this:

> wikipedia:: [{{searchTerm}}]({{url}})
{{text}}

which does include the text. But if you do the top option it just won't insert the paragraph text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants