Skip to content

$\newcommand{\foo}{bar}$ renders as "$$" #36

Description

@cben

I expected empty rendering (suboptimal, #10) or visible "$\newcommand{\foo}{bar}$" but not just the dollars.
What happens is my \newcommand visibility special casing sends this to MathJax:

$\newcommand{\foo}{bar}$ \($\newcommand{\foo}{bar}$\)

The intent was that the first part be visible while the would be processed by mathjax, but in this case both are processed and the dollars in the second part are visible.

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