ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Url​Converter

by Goto Hayato ST3

🌏 A Sublime Text 3 / 4 package which converts raw urls to html/markdown links.

Details

Installs

  • Total 1K
  • Win 642
  • Mac 305
  • Linux 119
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0
Mac 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0
Linux 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

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

Markdown

Screenshot for markdown

RestructuredText

Screenshot for ResructuredText

Custom

Screenshot for custom format

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

{
  "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.