https://github.com/huidaecho/picoyalinker
Pico Yet Another Linker Plugin
https://github.com/huidaecho/picoyalinker
Last synced: over 1 year ago
JSON representation
Pico Yet Another Linker Plugin
- Host: GitHub
- URL: https://github.com/huidaecho/picoyalinker
- Owner: HuidaeCho
- License: mit
- Created: 2020-08-10T02:21:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-10T20:55:42.000Z (almost 6 years ago)
- Last Synced: 2025-01-12T17:22:57.071Z (over 1 year ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Pico Yet Another Linker Plugin
==============================
This Pico plugin adds the ability to create links with less typing in Markdown.
Install
-------
1. Clone this Github repo into your `plugins/PicoYALinker` directory.
2. If you want to include UTF-8 characters in slugs, add the following line to `config/config.yml`:
```
yalinker_utf8_slugs: true
```
Usage
-----
| YALink | Markdown |
| ------ | -------- |
| `[[Page Title]]` | `[Page Title](page-title)` |
| `[[Page Title\|Link Text]]` | `[Link Text](page-title)` |
| `[[Slashes//in Page Title]]` | `[Slashes/in Page Title](slashes-in-page-title)` |
| `[[../Some Path/Page Title]]` | `[Page Title](../some-path/page-title)` |
| `[[../Some Path/Page Title\|]]` | `[../Some Path/Page Title](../some-path/page-title)` |
| `[[/Root Path/Page Title]]` | `[Page Title](/root-path/page-title)` |
| `[[https://example.com]]` | `` |
| `[[mailto:me@example.com]]` | `` |
| `[[mail:me@example.com]]` | `[me@example.com](mailto:me@example.com)` |
Demo
----
https://demo.isnew.info/pico/pico-yalinker
Credits
-------
Author: Huidae Cho