https://github.com/micro-garden/mdfy-plugin
A micro text editor plugin that converts a URL under the cursor into a Markdown link.
https://github.com/micro-garden/mdfy-plugin
markdown micro micro-editor micro-plugin plugin terminal text-editor url
Last synced: about 1 month ago
JSON representation
A micro text editor plugin that converts a URL under the cursor into a Markdown link.
- Host: GitHub
- URL: https://github.com/micro-garden/mdfy-plugin
- Owner: micro-garden
- License: mit
- Created: 2025-07-27T09:55:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-10-26T00:03:52.000Z (8 months ago)
- Last Synced: 2026-04-20T09:45:11.268Z (about 2 months ago)
- Topics: markdown, micro, micro-editor, micro-plugin, plugin, terminal, text-editor, url
- Language: Lua
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MDfy (Markdown-ize) Plugin for Micro
**MDfy (Markdown-ize)** is a plugin for the
[micro](https://micro-editor.github.io/) text editor that converts a URL under
the cursor into a Markdown link.
`mdfy` command transforms a URL under the cursor into Markdown link format:
```
[text](url)
```
The text part is automatically extracted from the last path segment of the URL.
For example, if your cursor is on:
```markdown
https://example.com/path/to/page
```
It will be transformed into:
```markdown
[page](https://example.com/path/to/page)
```
Shortcut: `Ctrl-Alt-g`
## Installation
Place the plugin folder in `~/.config/micro/plug/mdfy/`, or clone it
directly from the GitHub repository:
```sh
mkdir -p ~/.config/micro/plug
git clone https://github.com/micro-garden/mdfy-plugin ~/.config/micro/plug/mdfy
```
Alternatively, this plugin is also available through the unofficial plugin
channel:
https://github.com/micro-garden/unofficial-plugin-channel
You can install it by adding the channel and then using `plugin install`.
## License
MIT.
## Author
Aki Kareha (aki@kareha.org)