`. 203 | (Thanks to Thomas Hochstein for the fix.) 204 | 205 | * Fix for unintended blank title attribute when adding supplementary attributes 206 | to a link in Markdown Extra. 207 | (Thanks to Richie Black for the fix.) 208 | 209 | 210 | PHP Markdown Lib 1.9.0 (1 Dec 2019) 211 | 212 | * Added `fn_backlink_label` configuration variable to put some text in the 213 | `aria-label` attribute. 214 | (Thanks to Sunny Walker for the implementation.) 215 | 216 | * Occurances of "`^^`" in `fn_backlink_html`, `fn_backlink_class`, 217 | `fn_backlink_title`, and `fn_backlink_label` will be replaced by the 218 | corresponding footnote number in the HTML output. Occurances of "`%%`" will be 219 | replaced by a number for the reference (footnotes can have multiple references). 220 | (Thanks to Sunny Walker for the implementation.) 221 | 222 | * Added configuration variable `omit_footnotes`. When `true` footnotes are not 223 | appended at the end of the generated HTML and the `footnotes_assembled` 224 | variable will contain the HTML for the footnote list, allowing footnotes to be 225 | moved somewhere else on the page. 226 | (Thanks to James K. for the implementation.) 227 | 228 | Note: when placing the content of `footnotes_assembled` on the page, consider 229 | adding the attribute `role="doc-endnotes"` to the `
`
274 | where the element expects only span-level content.
275 |
276 | * In the parser code, switched to PHPDoc comment format. Thanks to
277 | Robbie Averill for the help.
278 |
279 |
280 | PHP Markdown Lib 1.6.0 (23 Dec 2015)
281 |
282 | Note: this version was incorrectly released as 1.5.1 on Dec 22, a number
283 | that contradicted the versioning policy.
284 |
285 | * For fenced code blocks in Markdown Extra, can now set a class name for the
286 | code block's language before the special attribute block. Previously, this
287 | class name was only allowed in the absence of the special attribute block.
288 |
289 | * Added a `code_block_content_func` configuration variable which takes a
290 | function that will convert the content of the code block to HTML. This is
291 | most useful for syntax highlighting. For fenced code blocks in Markdown
292 | Extra, the function has access to the language class name (the one outside
293 | of the special attribute block). Credits to Mario Konrad for providing the
294 | implementation.
295 |
296 | * The curled arrow character for the backlink in footnotes is now followed
297 | by a Unicode variant selector to prevent it from being displayed in emoji
298 | form on iOS.
299 |
300 | Note that in older browsers the variant selector is often interpreted as a
301 | separate character, making it visible after the arrow. So there is now a
302 | also a `fn_backlink_html` configuration variable that can be used to set
303 | the link text to something else. Credits to Dana for providing the
304 | implementation.
305 |
306 | * Fixed an issue in MarkdownExtra where long header lines followed by a
307 | special attribute block would hit the backtrack limit an cause an empty
308 | string to be returned.
309 |
310 |
311 | PHP Markdown Lib 1.5.0 (1 Mar 2015)
312 |
313 | * Added the ability start ordered lists with a number different from 1 and
314 | and have that reflected in the HTML output. This can be enabled with
315 | the `enhanced_ordered_lists` configuration variable for the Markdown
316 | parser; it is enabled by default for Markdown Extra.
317 | Credits to Matt Gorle for providing the implementation.
318 |
319 | * Added the ability to insert custom HTML attributes with simple values
320 | everywhere an extra attribute block is allowed (links, images, headers).
321 | The value must be unquoted, cannot contains spaces and is limited to
322 | alphanumeric ASCII characters.
323 | Credits to Peter Droogmans for providing the implementation.
324 |
325 | * Added a `header_id_func` configuration variable which takes a function
326 | that can generate an `id` attribute value from the header text.
327 | Credits to Evert Pot for providing the implementation.
328 |
329 | * Added a `url_filter_func` configuration variable which takes a function
330 | that can rewrite any link or image URL to something different.
331 |
332 |
333 | PHP Markdown Lib 1.4.1 (4 May 2014)
334 |
335 | * The HTML block parser will now treat ` ` or parse it's content with
337 | the as Markdown syntax (although with Extra you can use `markdown="1"`
338 | if you wish to use the Markdown syntax inside it).
339 |
340 | * The content of `