For Markdown and Markdown Extra, add automatic
IDs (#id) to all headings from h1 to h6. Substitute
all chars that are not alphanumeric with "-".
Works in lib version only.
Explicitly defined IDs will override auto-generated
ones, so there is no need to add a configuration
switch for this change.
Fixes#729.
Bump version.
Signed-off-by: Thomas Hochstein <thh@inter.net>
`<details>` and `<summary>` elements should
never be wrapped in `<p></p>`.
See michelf/php-markdown#329.
Signed-off-by: Thomas Hochstein <thh@inter.net>
Undo replacing of ">" (by ">"), done by
serendipity_event_unstrip_tags, at the beginning
of the line in comments to make blockquotes
possible.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* [s9y_event_markdown] Update German translation.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* [s9y_event_markdown] Add documentation.
German and English language documentation added.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* [s9y_event_markdown] Update/change language files.
* Add an explicit SmartyPants option instead
of a simple "yes".
* Change (English and German) language files
accordingly.
* Change URLs to https to avoid redirects.
* Bump version to 1.26
* Update ChangeLog.
Signed-off-by: Thomas Hochstein <thh@inter.net>
Add the entry id as a prefix to every footnote
links so links are unique even when more than
one entry is displayed (title page, search
results etc.).
This can only be done with PHP Markdown Lib;
the "classic" version does not have such a
configuration variable.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Get MarkdownExtra working.
It's not enough to import the right library
(Markdown or MarkdownExtra); you'll have to
call the right functions, too!
For the "classic" implementation, there's no
difference, as it seems.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* Upgrade PHP Markdown Lib to 1.7.0
Former version was 1.4.0 from 2013.
Signed-off-by: Thomas Hochstein <thh@inter.net>
* serendipity_event_markdown 1.23
Update Changelog, bump version number.
Add me as author.
Signed-off-by: Thomas Hochstein <thh@inter.net>