Skip to content

Math Preview Dual Scope #1377

@jdcaporale

Description

@jdcaporale

I am extremely thankful for this package! It's awesome!

I don't know much about the underlying code so I don't know how feasible this would be.

We currently have a preview_math_mode and a preview_math_scope and we can have all the math preview follow that one combination. My thought is that having the "all" mode for the inline math ("$...$") is infeasible, but previewing while typing would be great. Is it possible to have two modes with different scopes?
I.e.
"preview_math_mode1" : "all",
"preview_math_scope1" : "text.tex.latex meta.environment.math.block"
"preview_math_mode2" : "selected",
"preview_math_scope2" : "text.tex.latex meta.environment.math"

Hope that makes sense.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions