Skip to content

Dollar signs in comments incorrectly trigger TeX rendering #775

@kennyjwilli

Description

@kennyjwilli

Hi! Clerk has been excellent overall, but I've encountered an issue with dollar signs in comments being interpreted as TeX delimiters.

Problem:

When writing comments that include dollar amounts, Clerk treats them as TeX expressions. For example:

;; showing the dual-fuel advantage grows from ~$50K at low volatility to ~$115K at high volatility.

This renders using the TeX renderer instead of displaying as plain text.

Image

Current Workaround:

I need to escape each dollar sign:

;; showing the dual-fuel advantage grows from ~\$50K at low volatility to ~\$115K at high volatility.

This becomes tedious quickly since we write dollar amounts frequently and never use TeX in our codebase.

Question:

Is there a way to disable TeX rendering in comments, or a configuration option to prevent dollar signs from triggering the TeX parser? Any suggestions for a better solution would be appreciated.

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