Smart format link generator package for Emacs.
This package adds two smart link generate functions, (create-link)
and (create-link-manual)
Install: M-x package-install create-link
e.g. Put cursor on URL and M-x create-link
to get format link with title filling with scraped one.
http://example.com
→<a href="http://example.com/">Example Domain</a>
e.g. Open Google on with eww
. Then M-x create-link
to get a formatted link(↓HTML).
e.g. Put cursor on format link and M-x create-link-manual
to convert to any format you choose.
<a href="http://example.com/">Example Domain</a>
→[[http://example.com/][Example Domain]]
- HTML(default)
- LaTeX
- Markdown
- DokuWiki
- MediaWiki
- Org-mode
I want to support more formats, please send us your PR! This PR may be helpful!
- Region active: Use region text for title
- On format link: Convert link
- On URL: Use scraping title
- Specific buffer
- eww
- File (Make format link with buffer and file path. Thanks sergiruiztrepat)
To change the default output format:
(setq create-link-default-format 'markdown) ;; 'media-wiki 'org
I wanted to use this↓ useful Chrome extension in Emacs too, so I made it.