1.0.1 • Published 7 years ago

crowi-plugin-pukiwiki-like-linker v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

crowi-plugin-pukiwiki-like-linker

The Crowi Plugin to add PukiwikiLikeLinker

Overview

Add the feature to use [[alias>./relative/path]] expression in markdown.

Replacement examples

When you write at /Level1/Level2 page:

<!-- Markdown -->
[[./Level3]]
<!-- HTML -->
<a href="/Level1/Level2/Level3">./Level3</a>


<!-- Markdown -->
[[../AnotherLevel2]]
<!-- HTML -->
<a href="/Level1/AnotherLevel2">../AnotherLevel2</a>


<!-- Markdown -->
Level 3 page is [[here>./Level3]]
<!-- HTML -->
Level 3 page is <a href="/Level1/Level2/Level3">here</a>


<!-- Markdown -->
[[example.com>https://example.com/]]
<!-- HTML -->
<a href="https://example.com/">example.com</a>

Install

  1. install plugin

    $ npm install --save crowi-plugin-pukiwiki-like-linker
  2. build client app (see official documents)