Strange interpretation of dollar signs
// 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:
- 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
additionalMathJaxConfig:
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
outlineModeExtensions:
permissionGranted: NO
printHeaderBottomLeft: © MEF Forum 2020.
printHeaderBottomRight: Page %page
printHeaderFirstPage: NO
printFooterFirstPage: NO
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: YES
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
customMarkdownProcessor:
useCustomPreprocessor: NO
customPreprocessor:
useFirstH1AsPrintTitle: YES
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Brett on 11 Jun, 2020 05:00 PM
Dollar signs are used to delineate MathJax equations. If you're not
intentionally using MathJax (or Katex), disable it under
Preferences->Style.
-Brett
2 Posted by Larry S Samberg on 11 Jun, 2020 06:12 PM
OK. That did it. Thanks
/lss
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
difference.
--C.K. Prahalad
Brett closed this discussion on 11 Jun, 2020 06:32 PM.