Skip to content

Render € signs as text instead of LaTeX #1633

@CodingDive

Description

@CodingDive

Receiving a lot of warnings No character metrics for '€' in style 'Main-Regular' and mode 'text' for editor state that looks like this.

{
    "type": "math",
    "src": "8,99€",
    "inline": true,
    "children":
    [
        {
            "text": ""
        }
    ]
}

The problem is that KaTeX does not have support for the € character right now. It's a very low priority migration, but we could escape the symbols to render the symbol as text 8,99\text{\euro} which will remove the warning.

Alternatively, just pop this into the filter of your chrome devtools. -Main-Regular 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions