Yuki Takei 9 лет назад
Родитель
Сommit
1b6ff08a65
1 измененных файлов с 47 добавлено и 0 удалено
  1. 47 0
      packages/growi-plugin-pukiwiki-like-linker/README.md

+ 47 - 0
packages/growi-plugin-pukiwiki-like-linker/README.md

@@ -0,0 +1,47 @@
+# 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:
+
+```html
+<!-- 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 run install-plugin https://github.com/yuki-takei/crowi-plugin-pukiwiki-like-linker.git
+    ```
+
+2. build plugin (see official documents)