Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trashhalo/obsidian-extract-url
Plugin to extract markdown out of urls
https://github.com/trashhalo/obsidian-extract-url
markdown obsidian obsidian-md obsidian-plugin
Last synced: 7 days ago
JSON representation
Plugin to extract markdown out of urls
- Host: GitHub
- URL: https://github.com/trashhalo/obsidian-extract-url
- Owner: trashhalo
- License: gpl-3.0
- Created: 2021-03-14T16:31:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-31T13:52:29.000Z (over 2 years ago)
- Last Synced: 2024-10-11T15:14:19.552Z (28 days ago)
- Topics: markdown, obsidian, obsidian-md, obsidian-plugin
- Language: Rust
- Homepage:
- Size: 9.72 MB
- Stars: 274
- Watchers: 7
- Forks: 12
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - trashhalo/obsidian-extract-url - Plugin to extract markdown out of urls (Rust)
- jimsghstars - trashhalo/obsidian-extract-url - Plugin to extract markdown out of urls (Rust)
README
# Obsidian Plugin: Convert a URL into markdown
![Demo](images/demo-extract-url.gif)
Transforms a URL to markdown view if the website allows it.
# Installation
Available in the community plugin store in options.
# Modes
Operates in 2 modes.
1. **Selection** - If you select a URL in the document and execute these commands it will replace the selection with the markdown content.
2. **Document** - If you add front mater with the key of `link` to your document then it is treated as a linked document. Then calling extract will look for the link and replace the content of the document with the extracted content.
3. **Archive** - Extract every `[foo](https://url.com)` url found in the doucment. Replace external links to internal ones. Files created in `archive` folder.## Document mode example
```markdown
---
link: "https://bart.degoe.de/building-a-full-text-search-engine-150-lines-of-code/"
---everything below the --- will be replaced when calling extract
```# Commands
- **Extract**: Replace url or document with readable markdown extracted from the sites html content
- **Title Only**: Replace url or document with a markdown anchor with the title extracted from the page content
- **Import from Clipboard**: Extract content from url that is found in your clipboard and dump it at your cursor.# Youtube
If your system has `youtube-dl` installed extra details like channel name and description will be extracted for youtube urls.
![youtube](images/youtube.png)