No description
Find a file
Jonathan Miller f8e193ae70 bump version
2021-10-16 09:37:14 -04:00
.github/workflows remove styles again 2021-09-30 19:16:17 -04:00
.gitignore Initial commit 2021-09-24 18:31:08 -04:00
LICENSE.md Bump versions, add license 2021-10-07 17:50:33 -04:00
main.ts Handle active file being null 2021-10-16 09:34:49 -04:00
manifest.json bump version 2021-10-16 09:37:14 -04:00
package.json bump version 2021-10-16 09:37:14 -04:00
README.md Bump versions, add license 2021-10-07 17:50:33 -04:00
rollup.config.js Initial commit 2021-09-24 18:31:08 -04:00
tsconfig.json Initial commit 2021-09-24 18:31:08 -04:00
versions.json Initial commit 2021-09-24 18:31:08 -04:00

Obsidian Wikipedia

This is a plugin for Obsidian (https://obsidian.md).

This plugin gets the first section of Wikipedia and pastes it into your active note.

Usage

This plugin has two commands:

  • Get Wikipedia for Active Note, which gets the first section of Wikipedia using the active note's title as search term.
  • Get Wikipedia for Search Term, which gets the first section of Wikipedia for a search term.

Settings

Settings for this plugin include:

  • Language Prefix: The prefix before wikipedia.org used to access the language of Wikipedia you want. (Default: 'en')
  • Extract Template: The template to use to paste your extract. Available variables are {{text}}, {{searchTerm}}, and {{url}}
  • Bold Search Term?: If set to True, bolds the first instance of the search term in the extract
  • Use Paragraph Template?: If set to true, the paragraph template will be inserted for each paragraph of text for {{text}} in main template.
  • Paragraph Template: If Use Paragraph Template is set to true, this template will be inserted for each paragraph in the text extract. Available variable: {{paragraphText}}.