aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/markdown/README.md
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-12-01 11:13:04 +0100
committerGitHub <noreply@github.com>2016-12-01 11:13:04 +0100
commit6781465fda8ad5dc3a37439446d4ff1100f1fd39 (patch)
treee1d27777f227cb504f418a386fa7397de46cc482 /plugins/markdown/README.md
parent2a543983716e37cf1ea600e7485b0b69cf719053 (diff)
parent266e3fe5c8961aaf089bad16b9e4c54de1aaff40 (diff)
downloadShaarli-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.md21
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
27To enable the plugin, just check it in the plugin administration page. 26To enable the plugin, just check it in the plugin administration page.
28 27
29You can also add `markdown` to your list of enabled plugins in `data/config.php` 28You 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
32This should look like: 31This 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
42Parsedown parsing library is imported using Composer. If you installed Shaarli using `git`,
43or the `master` branch, run
44
45 composer update --no-dev --prefer-dist
46
38### No Markdown tag 47### No Markdown tag
39 48
40If the tag `.nomarkdown` is set for a shaare, it won't be converted to Markdown syntax. 49If 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