diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/markdown/README.md | 17 | ||||
-rw-r--r-- | plugins/markdown/markdown.meta | 5 |
2 files changed, 21 insertions, 1 deletions
diff --git a/plugins/markdown/README.md b/plugins/markdown/README.md index 4f021871..c64a831a 100644 --- a/plugins/markdown/README.md +++ b/plugins/markdown/README.md | |||
@@ -41,6 +41,23 @@ If the tag `.nomarkdown` is set for a shaare, it won't be converted to Markdown | |||
41 | 41 | ||
42 | > Note: it's a private tag (leading dot), so it won't be displayed to visitors. | 42 | > Note: it's a private tag (leading dot), so it won't be displayed to visitors. |
43 | 43 | ||
44 | ### HTML rendering | ||
45 | |||
46 | Markdown support HTML tags. For example: | ||
47 | |||
48 | > <strong>strong</strong><strike>strike</strike> | ||
49 | |||
50 | Will render as: | ||
51 | |||
52 | > <strong>strong</strong><strike>strike</strike> | ||
53 | |||
54 | If you want to shaare HTML code, it is necessary to use inline code or code blocks. | ||
55 | |||
56 | **If your shaared descriptions containing HTML tags before enabling the markdown plugin, | ||
57 | enabling it might break your page.** | ||
58 | |||
59 | > Note: HTML tags such as script, iframe, etc. are disabled for security reasons. | ||
60 | |||
44 | ### Known issue | 61 | ### Known issue |
45 | 62 | ||
46 | #### Redirector | 63 | #### Redirector |
diff --git a/plugins/markdown/markdown.meta b/plugins/markdown/markdown.meta index e3904ed8..8df2ed0b 100644 --- a/plugins/markdown/markdown.meta +++ b/plugins/markdown/markdown.meta | |||
@@ -1 +1,4 @@ | |||
1 | description="Render shaare description with Markdown syntax." | 1 | description="Render shaare description with Markdown syntax.<br><strong>Warning</strong>: |
2 | If your shaared descriptions containing HTML tags before enabling the markdown plugin, | ||
3 | enabling it might break your page. | ||
4 | See the <a href=\"https://github.com/shaarli/Shaarli/tree/master/plugins/markdown#html-rendering\">README</a>." | ||