diff options
author | Arthur <arthur@hoa.ro> | 2016-12-01 11:13:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-01 11:13:04 +0100 |
commit | 6781465fda8ad5dc3a37439446d4ff1100f1fd39 (patch) | |
tree | e1d27777f227cb504f418a386fa7397de46cc482 /plugins/markdown/README.md | |
parent | 2a543983716e37cf1ea600e7485b0b69cf719053 (diff) | |
parent | 266e3fe5c8961aaf089bad16b9e4c54de1aaff40 (diff) | |
download | Shaarli-6781465fda8ad5dc3a37439446d4ff1100f1fd39.tar.gz Shaarli-6781465fda8ad5dc3a37439446d4ff1100f1fd39.tar.zst Shaarli-6781465fda8ad5dc3a37439446d4ff1100f1fd39.zip |
Merge pull request #691 from ArthurHoaro/plugins/no-md-feed
Markdown: fixes feed rendering with nomarkdown tag
Diffstat (limited to 'plugins/markdown/README.md')
-rw-r--r-- | plugins/markdown/README.md | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/plugins/markdown/README.md b/plugins/markdown/README.md index 4f021871..196005e7 100644 --- a/plugins/markdown/README.md +++ b/plugins/markdown/README.md | |||
@@ -20,26 +20,35 @@ The directory structure should look like: | |||
20 | |--- markdown.css | 20 | |--- markdown.css |
21 | |--- markdown.meta | 21 | |--- markdown.meta |
22 | |--- markdown.php | 22 | |--- markdown.php |
23 | |--- Parsedown.php | ||
24 | |--- README.md | 23 | |--- README.md |
25 | ``` | 24 | ``` |
26 | 25 | ||
27 | To enable the plugin, just check it in the plugin administration page. | 26 | To enable the plugin, just check it in the plugin administration page. |
28 | 27 | ||
29 | You can also add `markdown` to your list of enabled plugins in `data/config.php` | 28 | You can also add `markdown` to your list of enabled plugins in `data/config.json.php` |
30 | (`ENABLED_PLUGINS` array). | 29 | (`general.enabled_plugins` list). |
31 | 30 | ||
32 | This should look like: | 31 | This should look like: |
33 | 32 | ||
34 | ``` | 33 | ``` |
35 | $GLOBALS['config']['ENABLED_PLUGINS'] = array('qrcode', 'any_other_plugin', 'markdown') | 34 | "general": { |
35 | "enabled_plugins": [ | ||
36 | "markdown", | ||
37 | [...] | ||
38 | ], | ||
39 | } | ||
36 | ``` | 40 | ``` |
37 | 41 | ||
42 | Parsedown parsing library is imported using Composer. If you installed Shaarli using `git`, | ||
43 | or the `master` branch, run | ||
44 | |||
45 | composer update --no-dev --prefer-dist | ||
46 | |||
38 | ### No Markdown tag | 47 | ### No Markdown tag |
39 | 48 | ||
40 | If the tag `.nomarkdown` is set for a shaare, it won't be converted to Markdown syntax. | 49 | If the tag `nomarkdown` is set for a shaare, it won't be converted to Markdown syntax. |
41 | 50 | ||
42 | > Note: it's a private tag (leading dot), so it won't be displayed to visitors. | 51 | > Note: this is a special tag, so it won't be displayed in link list. |
43 | 52 | ||
44 | ### Known issue | 53 | ### Known issue |
45 | 54 | ||