problem with MathJax and GFM Process

hexid26's Avatar


28 Apr, 2018 08:18 AM

The source markdown file is
When previewed by Marked2, there are some problems at the end of this article.
An attachment shows that the character _ may cause this problem.
Another attachment is the preview in Atom, which is correct.

I don't know what makes the problem occur.
And I hope the engineers can help me to fix it.
Thanks very much.

The rest attachments are the config of Marded2 on my Mac.
My system and Marked2 are both up-to-date.
And I add the config following the help document, which tells me that to add the code in Enable MathJax -> Advanced Configuration.
The code is as follows:

    "HTML-CSS": {
        messageStyle: "normal",
        linebreaks: {
            automatic: false
    tex2jax: { 
        inlineMath: [["$","$"],["\\(","\\)"]], 
        displayMath: [["$$","$$"],["\\[","\\]"]], 
        processEscapes: true
    TeX: {
        Macros: {
            tr: "{\\scriptscriptstyle\\mathrm{T}}",
  1. Support Staff 1 Posted by Brett on 28 Apr, 2018 04:29 PM

    Brett's Avatar

    It appears that selecting TeX-AMS-MML_SVG in the MathJax configuration
    dropdown fixes the issue. I am by no means a MathJax expert (and
    honestly, I don't know what half of the MathJax config settings mean).
    It seems, though, that the MML-AM configuration that you have selected
    is unable to process the apostrophe character as a valid symbol.


  2. Support Staff 2 Posted by Brett on 28 Apr, 2018 04:32 PM

    Brett's Avatar

    Oh, and the underscores do require escaping with the GFM processor:


    Otherwise if there are two in a paragraph it assumes italics and breaks
    the paragraph rendering.


Reply to this discussion

Internal reply

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

Attaching KB article:


Already uploaded files

  • 3.94 KB
  • Screen_Shot_2018-04-28_at_16.03.47.png 74.3 KB
  • Screen_Shot_2018-04-28_at_16.05.34.png 53.1 KB
  • Marked2Config.png 944 KB

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


? 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