English | 日本語
url-anchor
url-anchor
converts URL to HTML <a>
tag.
Description
url-anchor
converts URL and page titles to HTML <a>
tag when you give a URL.
You can also convert a Markdown link to a reStructuredText link by specifying an option.
Usage
$ url-anchor https://google.com
<a href="https://google.com">Google</a>
$ url-anchor -m https://google.com
[Google](https://google.com)
$ url-anchor -r https://google.com
`Google <https://google.com>`_
$ url-anchor -help
# ...
Installation
Developer
$ go get -u github.com/ebc-2in2crc/url-anchor/...
User
Download from the following url.
Or, you can use Homebrew (Only macOS).
$ brew tap ebc-2in2crc/tap
$ brew install url-anchor
Contribution
- Fork this repository
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Rebase your local changes against the master branch
- Run test suite with the
make test
command and confirm that it passes
- Run
make fmt
and make lint
- Create new Pull Request
Licence
MIT
Author
ebc-2in2crc