Skip to content

Replace inline backtick math in notebooks #116

@mortenpi

Description

@mortenpi

Literate replaces the ```math blocks with $$s when run outputting notebooks:

push!(repls, r"```math(.*?)```"s => s"$$\1$$")

But not the inline elements (foo ``x^2`` bar), which then don't render properly (would need $s). Should we also add e.g. this:

push!(repls, r"``(.+)``" => s"$\1$")

to the default replacements?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions