cannot edit advanced configuration for MathJax

myths-diktats.03's Avatar

myths-diktats.03

16 Feb, 2025 08:10 PM

// Please enter a detailed description of the issue // Description of the issue: The program stuck when I try to edit advanced configuration for MathJax.

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

  1. open settings
  2. go to Style tab
  3. click “Advanced Configuration” for MathJax

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

// Configuration (do not edit) Marked 2 1067 (Direct)

macOS Version: 15.3

additionalMathJaxConfig: {
"HTML-CSS": { messageStyle: "normal", linebreaks: { automatic: false } }, tex2jax: { inlineMath: [["$$”,”$$”]], displayMath: [["math”,””][“\[“,”\]”]], processEscapes: true }, TeX: { Macros: { tr: "{\scriptscriptstyle\mathrm{T}}", } } } allowPageBreakInCode: YES
bookTxtIsLeanpub: NO
summaryMdIsGitBook: NO
codeIsPoetry: NO
codeCanWrap: NO
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertGithubEmoji: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: MML_HTMLorMML
defaultPreviewStyle: swiss
defaultProcessor: MultiMarkdown
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
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: YES
minimalJavaScript: NO
outlineModeExtensions:
permissionGranted: NO
printHeaderBottomLeft:
printHeaderBottomRight:
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

  1. Support Staff 1 Posted by Brett on 07 Mar, 2025 03:22 PM

    Brett's Avatar

    It looks like you may have some invalid characters in your JSON that are breaking it. Try deleting Marked preferences and ensuring that there are no curly quotes in the advanced configuration when you paste it.

    To delete your preferences with the direct (non-MAS) version of Marked 2:

    1. Quit Marked 2
    2. Delete the file at ~/Library/Preferences/com.brettterpstra.marked2.plist (and any other files starting with com.brettterpstra.marked2). If you're not sure how to access this folder, open Finder and press ⌘⇧G, then paste "~/Library/Preferences" (without quotes) into the box.
    3. Reboot the computer (this is important as OS X aggressively caches preferences and may just restore the deleted file without your knowledge.
    4. Launch Marked 2

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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