aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/markdown
Commit message (Collapse)AuthorAgeFilesLines
* Fix hashtags with markdown escape enabledArthurHoaro2018-08-141-0/+9
| | | | | | They're now transformed to markdown syntax links before processing them through Parsedown. Fixes #1210
* Fix feed permalink rendering with markdown escape set to trueArthurHoaro2018-05-191-0/+8
| | | | Fixes #1134
* Fix removal of on=... attributes from html generated from markdownDennis Verspuij2018-03-191-1/+1
|
* Executes daily hooks before creating columns.kalvn2018-02-011-12/+11
|
* Shaarli's translationArthurHoaro2017-10-222-5/+22
| | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* Add a whitelist of protocols for URLsArthurHoaro2017-05-251-4/+33
| | | | | | | - for Shaare - for markdown description links and images Not whitelisted protocols will be replaced by `http://`
* Add markdown_escape settingArthurHoaro2017-02-282-18/+38
| | | | | | | | | | | | | This setting allows to escape HTML in markdown rendering or not. The goal behind it is to avoid XSS issue in shared instances. More info: * the setting is set to true by default * it is set to false for anyone who already have the plugin enabled (avoid breaking existing entries) * improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof * mention the setting in the plugin README
* Fix markdown plugin color overridingArthurHoaro2017-02-271-1/+1
|
* Fix typo in markdown plugin meta descriptionArthurHoaro2016-12-181-1/+1
|
* Merge pull request #701 from ArthurHoaro/plugins/md-html-docArthur2016-12-032-1/+21
|\ | | | | Describe markdown HTML rendering and display a warning
| * Describe markdown HTML rendering and display a warningArthurHoaro2016-12-012-1/+21
| | | | | | | | Fixes #688
* | Markdown: fixes feed rendering with nomarkdown tagArthurHoaro2016-11-222-14/+34
|/ | | | | | | | | | | * make sure we match exactly `nomarkdown` tag * pass the whole link data to stripNoMarkdownTag() to: * strip the noMD tag in taglist (array) * strip the tag in tags (string) Fixes #689 tmp
* Fix an issue with links not being reversed in code blocksArthurHoaro2016-10-221-5/+6
| | | | | | Fixes #672 + Markdown to HTML unit test
* Use Composer to import Parsedown libraryArthurHoaro2016-10-222-1530/+0
| | | | Reference #613
* Hashtag systemArthurHoaro2016-06-061-2/+39
| | | | | | * Hashtag are auto-linked with a filter search * Supports unicode * Compatible with markdown (excluded in code blocks)
* The tag is no longer privateArthurHoaro2016-05-301-3/+16
| | | | A private tag is never loaded for visitor, making this feature useless.
* Markdown: inline code background colorArthurHoaro2016-05-131-0/+7
|
* Process feeds content with MarkdownArthurHoaro2016-03-261-0/+19
|
* Update markdown plugin README documentationArthurHoaro2016-03-261-11/+23
| | | | | * Add the `.nomarkdown` section. * Update misleading statements.
* Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare from being ↵ArthurHoaro2016-03-211-0/+30
| | | | | | parsed with markdown Also add the tag in tag list in edit_link, so it will appear on autocompletion.
* Avoids populating a markdown empty container if there's no description.kalvn2016-02-281-1/+4
|
* Merge pull request #491 from ArthurHoaro/markdown-escape2Arthur2016-02-251-8/+29
|\ | | | | Markdown: don't escape content + sanitize sensible tags
| * Markdown: don't escape content + sanitize sensible tagsArthurHoaro2016-02-191-8/+29
| | | | | | | | Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
* | adding styles for code & pre tagsNicolas Danelon2016-02-191-0/+29
|/
* Fixes forced git changesArthurHoaro2016-01-313-57/+57
| | | | Probably related to the introduction of .gitattribute with forced line ending.
* PLUGIN MarkdownArthurHoaro2016-01-036-0/+1880
Parse link description in Markdown (HTML) before rendering. * hard remove of Shaarli's HTML before parsing. * Using Parsedown <https://github.com/erusev/parsedown> PHP lib. * Includes basic markdown CSS. * Style: removed 400px height max limit for shaares. * Unit tests.