Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66839

MathJax unable to render inline math in Markdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.6.5, 3.7.2
    • Maths filters
    • MOODLE_36_STABLE, MOODLE_37_STABLE

      If you create Markdown Page and insert only inline math, MathJax does not render. You have to either add hidden "p" HTML tag with inline math or add some math in display style. It seems like Label and Quiz are also affected.

      Steps to reproduce:

      1. In user editor preferences set Plain text area
      2. Create a page activity
      3. In Page content are select Markdown format from dropdown menu
      4. Enter this in content

        \\(x+y\\)
        

      5. Save changes

      Expected behavior: Formula is rendered as math formula
      Actual behavior: plain text is displayed

      1. Add extra line

        $$ssss$$
        

      2. Save changes
      3. Note that both formulas are rendered correctly as math formulas

       

            Unassigned Unassigned
            andrewojtowicz Andrzej Wójtowicz
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.