diff --git a/inc/shaarli.css b/inc/shaarli.css index 5808320..a24d4b7 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css @@ -37,6 +37,10 @@ em { font-style: italic; } +strong { + font-weight: bold; +} + /* Buttons */ .bigbutton { background-color: #c0c0c0; @@ -1168,8 +1172,13 @@ ul.errors { } #pluginsadmin a { + color: #486D08; +} + +#pluginsadmin a.arrow { color: black; } + /* 404 page */ .error-container { diff --git a/plugins/markdown/README.md b/plugins/markdown/README.md index 196005e..aafcf06 100644 --- a/plugins/markdown/README.md +++ b/plugins/markdown/README.md @@ -50,6 +50,23 @@ If the tag `nomarkdown` is set for a shaare, it won't be converted to Markdown s > Note: this is a special tag, so it won't be displayed in link list. +### HTML rendering + +Markdown support HTML tags. For example: + + > strongstrike + +Will render as: + +> strongstrike + +If you want to shaare HTML code, it is necessary to use inline code or code blocks. + +**If your shaared descriptions containing HTML tags before enabling the markdown plugin, +enabling it might break your page.** + +> Note: HTML tags such as script, iframe, etc. are disabled for security reasons. + ### Known issue #### Redirector diff --git a/plugins/markdown/markdown.meta b/plugins/markdown/markdown.meta index e3904ed..8df2ed0 100644 --- a/plugins/markdown/markdown.meta +++ b/plugins/markdown/markdown.meta @@ -1 +1,4 @@ -description="Render shaare description with Markdown syntax." +description="Render shaare description with Markdown syntax.
Warning: +If your shaared descriptions containing HTML tags before enabling the markdown plugin, +enabling it might break your page. +See the README." diff --git a/tpl/pluginsadmin.html b/tpl/pluginsadmin.html index 672f499..ead1734 100644 --- a/tpl/pluginsadmin.html +++ b/tpl/pluginsadmin.html @@ -38,11 +38,11 @@ - -