# strikethrough

URL: /patitas/api/plugins/strikethrough/
Section: plugins
Description: Strikethrough plugin for Patitas.

Adds support for ~~deleted~~ syntax.

Usage:
    >>> md = create_markdown(plugins=["strikethrough"])
    >>> md("~~deleted text~~")
    '<p><del>deleted text</del></p>'

Syntax:
~~text~~ → <del>text</del>

Strikethrough can contain other inline elements:
~~**bold deleted**~~ → <del><strong>bold deleted</strong></del>

Thread Safety:
This plugin is stateless and thread-safe.

---

> For a complete page index, fetch /patitas/llms.txt.

Open LLM text
(/patitas/api/plugins/strikethrough/index.txt)

Share with AI

Ask Claude
(https://claude.ai/new?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Fplugins%2Fstrikethrough%2Findex.txt)

Ask ChatGPT
(https://chatgpt.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Fplugins%2Fstrikethrough%2Findex.txt)

Ask Gemini
(https://gemini.google.com/app?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Fplugins%2Fstrikethrough%2Findex.txt)

Ask Copilot
(https://copilot.microsoft.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Fplugins%2Fstrikethrough%2Findex.txt)

Module

#
`plugins.strikethrough`

Strikethrough plugin for Patitas.

Adds support for deleted syntax.

Usage:

```
>>> md = create_markdown(plugins=["strikethrough"])
>>> md("~~deleted text~~")
'<p><del>deleted text</del></p>'
```

Syntax:

text → text

Strikethrough can contain other inline elements:

bold deleted → bold deleted

Thread Safety:

This plugin is stateless and thread-safe.

1Class

## Classes

`StrikethroughPlugin`

1

▼

Plugin adding ~~strikethrough~~ support.

Extends inline parsing to recognize ~~ delimiters.

Enabl…

Plugin adding strikethrough support.

Extends inline parsing to recognize ~~ delimiters.

Enable via Markdown(plugins=["strikethrough"]).

Note: The actual parsing is controlled by ParseConfig.strikethrough_enabled,
which is set by the Markdown class based on the plugins list.

#### Methods

`name`

0

`str`

▼

property

`def name(self) -> str`

##### Returns

`str`
