# inline

URL: /patitas/api/parsing/inline/
Section: inline
Description: Inline parsing subsystem for Patitas parser.

Provides mixins for parsing inline Markdown content:
- Emphasis and strong (*, _)
- Code spans (`)
- Links and images
- Footnote references
- HTML inline
- Roles (\{role}`content`)
- Math ($expression$)
- Strikethrough (~~)

Architecture:
Uses CommonMark delimiter stack algorithm for proper emphasis parsing.
See: https://spec.commonmark.org/0.31.2/#emphasis-and-strong-emphasis

---

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

Open LLM text
(/patitas/api/parsing/inline/index.txt)

Share with AI

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

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

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

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

Module

#
`parsing.inline`

Inline parsing subsystem for Patitas parser.

Provides mixins for parsing inline Markdown content:

- Emphasis and strong (*, _)

- Code spans (`)

- Links and images

- Footnote references

- HTML inline

- Roles ({role}`content`)

- Math ($expression$)

- Strikethrough (~~)

Architecture:

Uses CommonMark delimiter stack algorithm for proper emphasis parsing.
See: https://spec.commonmark.org/0.31.2/#emphasis-and-strong-emphasis

1Class

## Classes

`InlineParsingMixin`

0

▼

Combined inline parsing mixin.

Combines all inline parsing functionality into a single mixin
that …

Bases:

`InlineParsingCoreMixin (/patitas/api/parsing/inline/core/#InlineParsingCoreMixin)`,

`EmphasisMixin (/patitas/api/parsing/inline/emphasis/#EmphasisMixin)`,

`LinkParsingMixin (/patitas/api/parsing/inline/links/#LinkParsingMixin)`,

`SpecialInlineMixin (/patitas/api/parsing/inline/special/#SpecialInlineMixin)`

Combined inline parsing mixin.

Combines all inline parsing functionality into a single mixin
that can be inherited by the Parser class.

Required Host Attributes:

- _source: str

- _math_enabled: bool

- _strikethrough_enabled: bool

- _footnotes_enabled: bool

- _link_refs: dict[str, tuple[str, str]]
