Skip to content

Format text page: styles.latex should be styling.latex; also document escaping literal dollar signs #6107

@robertmclaws

Description

@robertmclaws

Summary — The Create content -> Format text page (create/text.mdx) has two issues in its "Mathematical expressions" section.

(1) Wrong config key. It says to configure styles.latex, but the docs.json schema and the settings docs use styling.latex. Setting styles.latex has no effect.

(2) Stylesheet vs. parsing, plus missing escaping guidance. The page implies that key "overrides automated detection." But per organize/settings-appearance.mdx, styling.latex only controls whether the LaTeX stylesheet loads — it does not disable math parsing. So ordinary prose containing dollar signs (currency such as $50) is parsed as inline LaTeX, and styling.latex: false does not prevent it. The page never tells readers to escape literal dollar signs as \$.

Evidence. create/text.mdx (~L167) says "configuring styles.latex". organize/settings-appearance.mdx (the styling.latex field): "Controls whether LaTeX stylesheets load... Set to false to prevent loading LaTeX stylesheets...". organize/settings-reference.mdx documents styling.latex (boolean). The published docs.json JSON schema contains styling.latex and no styles.latex.

Same typo in translations. es/create/text.mdx, fr/create/text.mdx, zh/create/text.mdx (~L200 each). Correct/unaffected: organize/settings-appearance.mdx, organize/settings-reference.mdx; editor/configurations.mdx is a separate web-editor toggle.

Repro. Put two amounts in prose — for example: Audio is $90/hr and video is $150/hr — and the span between renders as math. styling.latex: false does not change it; escaping \$90 / \$150 does.

Suggested fix. Correct styles.latex -> styling.latex; clarify it controls stylesheet loading not parsing; add a note to escape literal dollar signs as \$. I have a one-file patch for create/text.mdx ready and can open a PR.

Caveat: I verified the key against the schema and settings docs, and the escaping from the live symptom, but did not isolate-repro that styling.latex: false leaves parsing on in a minimal project — worth confirming before merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions