Skip to content

Issue with equation rendering inside code annotations #93

@sdelquin

Description

@sdelquin

Context

Equations inside markdown pages.

Bug description

I have a .md with some equations. All of them are properly rendered, but those inside code annotations are not.

For example:

$a = b^2$

```pycon
>>> x = 3 ** 2#(1)!
```
{ .annotate }

1. $x = 3^2$

Is rendered like so:
Image

Related links

Reproduction

reproduction.zip

Steps to reproduce

  1. Unzip
  2. uv sync
  3. uv run zensical serve
  4. Look at "Get started" page

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions