User Tools

Site Tools


res:plugins:parsedown

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
res:plugins:parsedown [2026/05/01 18:26] – [Description] fraenkimanres:plugins:parsedown [2026/05/01 21:18] (current) – [Description] fraenkiman
Line 12: Line 12:
   * Super Fast   * Super Fast
  
-  * Extensible+  * Extensible (For example, using [[https://github.com/BenjaminHoegh/ParsedownExtended|ParsedownExtended]] by Benjamin HΓΈegh)
  
 Why Parsedown? It's faster, more consistent and is being actively developed. Why Parsedown? It's faster, more consistent and is being actively developed.
Line 54: Line 54:
   * ''libxml_use_internal_errors()''   * ''libxml_use_internal_errors()''
  
-If these PHP features are missing, the plugin falls back to plain Parsedown. In that fallback mode, the "Parsedown Extra syntax" section below is not available. For example, ''# Heading {#id}'' will be rendered as a heading containing the literal text ''{#id}'' instead of creating an HTML ''id'' attribute.+If these PHP features are missing, the plugin falls back to plain Parsedown. In that fallback mode, the "[[res:plugins:parsedown#parsedown_extra_syntax|Parsedown Extra syntax]]" section below is not available. For example, ''# Heading {#id}'' will be rendered as a heading containing the literal text ''{#id}'' instead of creating an HTML ''id'' attribute.
  
  
Line 188: Line 188:
  
 ==== Tables with preformatted cells ==== ==== Tables with preformatted cells ====
 +Alignment markers:
 +'':β€”'' left aligned, ''β€”:'' right aligned, '':β€”:'' centred
 <code>| One        | Two  | <code>| One        | Two  |
 | :--        | :--  | | :--        | :--  |
Line 251: Line 253:
 __double underlines__  __double underlines__ 
  
-Lord*God*sacrament +Lord*God*Sacrament 
  
-\*This text is enclosed by asterisks.\* +This is ~~deleted text~~.Β 
 +Β 
 +\*This text is surrounded by literal asterisks.\*
  
 *italics*, **bold** and ***bold italics*** or  *italics*, **bold** and ***bold italics*** or 
Line 336: Line 340:
  
 ===== Parsedown Extra syntax ===== ===== Parsedown Extra syntax =====
-The syntax in this section works only when Parsedown Extra is active. See "Parsedown Extra availability" above.+The syntax in this section works only when Parsedown Extra is active. See "[[res:plugins:parsedown#parsedown_extra_availability|Parsedown Extra availability]]" above.
  
 ==== Special attributes for headers ==== ==== Special attributes for headers ====
Line 371: Line 375:
 : Citrus fruit</code> : Citrus fruit</code>
  
-Definition text can span multiple lines. 
- 
-<code>Term 
-: Definition line 1 
-  continuation line 2</code> 
  
 ==== Abbreviations ==== ==== Abbreviations ====
Line 397: Line 396:
 == 2026-05-01: Version 1.1.3 == == 2026-05-01: Version 1.1.3 ==
   * Corrected incorrect documentation (anchor links)   * Corrected incorrect documentation (anchor links)
 +  * Documentation expanded to include the Parsedown Extra syntax
 == 2026-04-23: Version 1.1.2 == == 2026-04-23: Version 1.1.2 ==
   * Comments continue to be stored in a sanitized format. Only safe autolinks are restored immediately before parsing.   * Comments continue to be stored in a sanitized format. Only safe autolinks are restored immediately before parsing.
res/plugins/parsedown.1777652795.txt.gz Β· Last modified: by fraenkiman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki