Skip to content

Commit

Permalink
Add catpion extension (#2492)
Browse files Browse the repository at this point in the history
Co-authored-by: Joan Puigcerver <joapuiib@gmail.com>
  • Loading branch information
facelessuser and joapuiib authored Oct 18, 2024
1 parent b647b8d commit 2c7f8c0
Show file tree
Hide file tree
Showing 17 changed files with 2,411 additions and 42 deletions.
1 change: 1 addition & 0 deletions docs/src/dictionary/en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ github
highlighter's
hostnames
html
incrementing
indepth
indexable
injectable
Expand Down
9 changes: 0 additions & 9 deletions docs/src/markdown/.snippets/blocksbeta.md

This file was deleted.

4 changes: 4 additions & 0 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## 10.12

- **NEW**: Blocks: Blocks extensions no longer considered in beta.
- **NEW**: Details: Details is marked as "legacy" in documentation in favor of the new `pymdownx.blocks.details` approach.
- **NEW**: Tabbed: Tabbed is marked as "legacy" in documentation in favor of the new `pymdownx.blocks.tab` approach.
- **NEW**: Caption: Add new "blocks" style extension called Caption which helps with specifying figures with captions.
- **NEW**: Emoji: Add a new `strict` option that will raise an exception if an emoji is used whose name has changed,
removed, or never existed.
- **FIX**: Emoji: Emoji links should be generated such that they point to the new CDN version.
Expand Down
2 changes: 0 additions & 2 deletions docs/src/markdown/extensions/blocks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

# Blocks

--8<-- "blocksbeta.md"

## Overview

Blocks is an extension aimed at providing generic blocks inspired by reStructuredText directives. While inspired by
Expand Down
4 changes: 1 addition & 3 deletions docs/src/markdown/extensions/blocks/plugins/admonition.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ can cause issues as they both generate the same output and confuse each other.
If you are switching from `admonition` to `pymdownx.blocks.admonition`, ensure you disable `admonition` to avoid issues.
///

--8<-- "blocksbeta.md"

## Overview

Admonition blocks are an alternative to using Python Markdown's [built-in extension][admonition]. The output is
Expand Down Expand Up @@ -165,4 +163,4 @@ Options | Type | Descriptions
Options | Type | Descriptions
------------ | ---------- | ------------
`type` | string | A class name to apply as the admonition type.
`attrs` | string | A string that defines attributes for the outer, wrapper element.
`attrs` | dictionary | A dictionary that defines attributes for the outer, wrapper element.
Loading

0 comments on commit 2c7f8c0

Please sign in to comment.