Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gh640/sublimeurlconverter
🌏 A Sublime Text 3 / 4 package which converts raw urls to html/markdown links.
https://github.com/gh640/sublimeurlconverter
markdown sublime-package sublime-text sublime-text-3 sublime-text-4 url
Last synced: about 1 month ago
JSON representation
🌏 A Sublime Text 3 / 4 package which converts raw urls to html/markdown links.
- Host: GitHub
- URL: https://github.com/gh640/sublimeurlconverter
- Owner: gh640
- License: mit
- Created: 2017-06-29T12:52:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T05:12:19.000Z (almost 3 years ago)
- Last Synced: 2024-05-02T01:12:02.445Z (8 months ago)
- Topics: markdown, sublime-package, sublime-text, sublime-text-3, sublime-text-4, url
- Language: Python
- Homepage: https://packagecontrol.io/packages/UrlConverter
- Size: 930 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# SublimeUrlConverter
A Sublime Text 3 / 4 package which converts raw urls to html/markdown links. Titles of links are fetched through target web pages.
## Supported formats
- HTML
- Markdown
- RestructuredText
- Custom format### HTML
![Screenshot for html](https://raw.github.com/gh640/SublimeUrlConverter/master/assets/demo_html.gif)
### Markdown
![Screenshot for markdown](https://raw.github.com/gh640/SublimeUrlConverter/master/assets/demo_markdown.gif)
### RestructuredText
![Screenshot for ResructuredText](https://raw.github.com/gh640/SublimeUrlConverter/master/assets/demo_restructuredtext.gif)
### Custom
![Screenshot for custom format](https://raw.github.com/gh640/SublimeUrlConverter/master/assets/demo_custom.gif)
## Usage
### Commands
You can run bulk url conversion with the following commands.
- `UrlConverter: Convert urls to html links`
- `UrlConverter: Convert urls to markdown links`
- `UrlConverter: Convert urls to RestructuredText links`
- `UrlConverter: Convert urls to paths`
- `UrlConverter: Convert urls to custom-formatted links`Select urls, open the command palette, and select one of the above commands.
### Settings
```json
{
"fallback_template": "{title}\n{url}",
"timeout": 10
}
```#### `fallback_template`
You can use a custom link format for the command. The default format is as shown below.
There are 2 tokens which can be used in the template: `{title}` and `{url}`.
#### `timeout`
Seconds the fetching process times out with.
Default: `10`
## License
Licensed under the MIT license.