res:plugins:parsedown
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| res:plugins:parsedown [2026/05/01 18:06] – [Links] fraenkiman | res:plugins:parsedown [2026/05/01 21:18] (current) – [Description] fraenkiman | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| * Super Fast | * Super Fast | ||
| - | * Extensible | + | * Extensible |
| 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 18: | Line 18: | ||
| [[https:// | [[https:// | ||
| However, as CommonMark continues to evolve, compliance should improve. | However, as CommonMark continues to evolve, compliance should improve. | ||
| + | |||
| + | ===== Requirements ===== | ||
| + | |||
| + | You need: | ||
| + | |||
| + | * a working ≥ [[en: | ||
| + | * PHP **7.2 to 8.5** | ||
| + | * the plugin files from [[res: | ||
| + | |||
| ===== How FlatPress uses the plugin ===== | ===== How FlatPress uses the plugin ===== | ||
| Line 45: | Line 54: | ||
| * '' | * '' | ||
| - | If these PHP features are missing, the plugin falls back to plain Parsedown. In that fallback mode, the " | + | If these PHP features are missing, the plugin falls back to plain Parsedown. In that fallback mode, the "[[res: |
| Line 179: | Line 188: | ||
| ==== Tables with preformatted cells ==== | ==== Tables with preformatted cells ==== | ||
| + | Alignment markers: | ||
| + | '': | ||
| < | < | ||
| | :-- | :-- | | | :-- | :-- | | ||
| Line 242: | Line 253: | ||
| __double underlines__ | __double underlines__ | ||
| - | Lord*God*sacrament | + | Lord*God*Sacrament |
| - | \*This text is enclosed | + | This is ~~deleted text~~. |
| + | |||
| + | \*This text is surrounded | ||
| *italics*, **bold** and ***bold italics*** or | *italics*, **bold** and ***bold italics*** or | ||
| Line 326: | Line 339: | ||
| - | ===== License | + | ===== Parsedown Extra syntax |
| - | [[https:// | + | The syntax in this section works only when Parsedown Extra is active. See "[[res:plugins:parsedown# |
| + | ==== Special attributes for headers ==== | ||
| + | < | ||
| - | ===== Requirements | + | ## Header with class {.important} |
| + | |||
| + | ## Header with ID and class {#my-header .important}</ | ||
| + | |||
| + | Then link to the header with: | ||
| + | |||
| + | < | ||
| + | |||
| + | ==== Special attributes for links and images | ||
| + | < | ||
| + | |||
| + |  | * 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.1777651604.txt.gz · Last modified: by fraenkiman
