Strange interpretation of dollar signs

Larry Samberg's Avatar

Larry Samberg

11 Jun, 2020 04:04 PM

// Please enter a detailed description of the issue // Description of the issue:

Dollar signs ($) in the source MD file seem to create strange artifacts in the HTML file in Marked.

// Please enter a list of steps required to reproduce the issue // Steps to reproduce:

  1. Put a $ in the source MD file.

// If applicable please attach a sample document that causes the issue for you.

Input: replace 50 $50,000 devices with 200 $200,000 devices

Result is:
replace 50 $50,000 devices with 200 $200,000 devices to

// Configuration (do not edit) Marked 2 987 (Setapp)

macOS Version: 10.14.4

allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 3
defaultProcessor: Discount (GFM)
enableMiniMap: NO
excludeBlockQuotesFromCounts: NO
excludeFootnotesFromCounts: NO
excludeVerbatimFromCounts: NO
excludeCaptionsFromCounts: NO
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: YES
h1IsPageBreak: NO
h2IsPageBreak: NO
hrIsPageBreak: NO
includeMathJax: YES
includeKatex: NO
limitTextWidth: NO
minimalJavaScript: NO
permissionGranted: NO
printHeaderBottomLeft: © MEF Forum 2020.
printHeaderBottomRight: Page %page
printHeaderFirstPage: NO
printFooterFirstPage: NO
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: YES
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
useCustomPreprocessor: NO
useFirstH1AsPrintTitle: YES

  1. Support Staff 1 Posted by Brett on 11 Jun, 2020 05:00 PM

    Brett's Avatar

    Dollar signs are used to delineate MathJax equations. If you're not
    intentionally using MathJax (or Katex), disable it under


  2. 2 Posted by Larry S Samberg on 11 Jun, 2020 06:12 PM

    Larry S Samberg's Avatar

    OK. That did it. Thanks


    Larry S Samberg
    [email blocked]
    +1 774-230-0382
    skype: larrysamberg

    Responsibility without conviction is amorally pragmatic and unengaging;
    conviction without responsibility is impotent. Leadership requires both
    conviction and responsibility to show the way forward and make a

    --C.K. Prahalad

  3. Brett closed this discussion on 11 Jun, 2020 06:32 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac