Project:
Thinklab Meta [meta]

MathJax Block markers


I would just add a small note in the markdown guide (https://think-lab.github.io/help/writing-in-markdown) that returns are needed before and after the three dollars signs to insert a block. It took me a while to figure out.

Here's an example of what Antoine is talking about

One newline — does not work

Text


@@mj-block@@


Text

Text

$$$ This + is = a \times math block $$$

Text

Two newlines — does work

Text



@@mj-block@@



Text

Text

$$$ This + is = a \times math block $$$

Text

Other issue: Math should probably be disabled inside code blocks. Until then this example will be weird.

@alizee thanks for pointing this out. I removed the requirement for having any line breaks before or after the three dollar signs. You might have to refresh the page to get that to work.

@dhimmel you are correct — Mathjax should be disabled within code blocks. I think we'll save this one for later.

  • Antoine Lizee: Thanks! That's the most simple way to go forward.

 
Status: Deferred
Labels
  Technical Issue
Views
45
Topics
Cite this as
Antoine Lizee, Daniel Himmelstein, Jesse Spaulding (2016) MathJax Block markers. Thinklab. doi:10.15363/thinklab.d189
License

Creative Commons License

Share