diff options
author | Arthur <arthur@hoa.ro> | 2016-01-31 18:57:29 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-01-31 18:57:29 +0100 |
commit | 893338f0d407a0989454d5e3c0e43c97f7eface5 (patch) | |
tree | 90fe71e194f49858ea34ed4cbf6e671a543ba595 /plugins/markdown/README.md | |
parent | 423e2a8b13dc0069c83f3e540f576aa1b89fe5d5 (diff) | |
parent | 1be4afacf98e0124258199ec416dc1c4b4948305 (diff) | |
download | Shaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.tar.gz Shaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.tar.zst Shaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.zip |
Merge pull request #379 from ArthurHoaro/plugin-markdown
PLUGIN Markdown
Diffstat (limited to 'plugins/markdown/README.md')
-rw-r--r-- | plugins/markdown/README.md | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/plugins/markdown/README.md b/plugins/markdown/README.md new file mode 100644 index 00000000..22d0af35 --- /dev/null +++ b/plugins/markdown/README.md | |||
@@ -0,0 +1,51 @@ | |||
1 | ## Markdown Shaarli plugin | ||
2 | |||
3 | Convert all your shaares description to HTML formatted Markdown. | ||
4 | |||
5 | Read more about Markdown syntax here. | ||
6 | |||
7 | ### Installation | ||
8 | |||
9 | Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there. | ||
10 | The directory structure should look like: | ||
11 | |||
12 | ``` | ||
13 | ??? plugins | ||
14 | ??? markdown | ||
15 | ??? help.html | ||
16 | ??? markdown.css | ||
17 | ??? markdown.meta | ||
18 | ??? markdown.php | ||
19 | ??? Parsedown.php | ||
20 | ??? README.md | ||
21 | ``` | ||
22 | |||
23 | To enable the plugin, add `markdown` to your list of enabled plugins in `data/config.php` | ||
24 | (`ENABLED_PLUGINS` array). | ||
25 | |||
26 | This should look like: | ||
27 | |||
28 | ``` | ||
29 | $GLOBALS['config']['ENABLED_PLUGINS'] = array('qrcode', 'any_other_plugin', 'markdown') | ||
30 | ``` | ||
31 | |||
32 | ### Known issue | ||
33 | |||
34 | #### Redirector | ||
35 | |||
36 | If you're using a redirector, you *need* to add a space after a link, | ||
37 | otherwise the rest of the line will be `urlencode`. | ||
38 | |||
39 | ``` | ||
40 | [link](http://domain.tld)-->test | ||
41 | ``` | ||
42 | |||
43 | Will consider `http://domain.tld)-->test` as URL. | ||
44 | |||
45 | Instead, add an additional space. | ||
46 | |||
47 | ``` | ||
48 | [link](http://domain.tld) -->test | ||
49 | ``` | ||
50 | |||
51 | > Won't fix because a `)` is a valid part of an URL. | ||