Yuki Takei 72f22b54f1 BugFix when url starts with '/' 9 лет назад
..
src 72f22b54f1 BugFix when url starts with '/' 4 лет назад
.babelrc b4e9343250 add babel settings file 4 лет назад
.editorconfig 8e96494eb9 init 4 лет назад
.gitignore c097c3fd6d move sources 4 лет назад
LICENSE 46520baef2 Create LICENSE 4 лет назад
README.md 0dcc114390 ensure to correspond to pluginSchemaVersion 2 4 лет назад
package.json b4e9343250 add babel settings file 4 лет назад

README.md

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)