Skip to content

Commit

Permalink
Fix mathjax examples with zero-width space
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 23, 2017
1 parent a7a91a6 commit ee96e2a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/manual.txt
Expand Up @@ -2028,8 +2028,10 @@ To use mathematics in a post, you **must** add the ``mathjax`` tag, no matter
which renderer you are using. (Exception: posts that are Jupyter Notebooks are
automatically marked as math)

By default, Nikola will accept ``\(...\)`` for inline math; ``\[...\]`` and
``$$...$$`` for display math. If you want to use the old ``$...$`` syntax as well
.. Note to editors: the paragraph below uses U+200B, zero-width space. Don’t break it.

By default, Nikola will accept ``\​(...\​)`` for inline math; ``\​[...\​]`` and
``$​$...$​$`` for display math. If you want to use the old ``$...$`` syntax as well
(which may conflict with running text!), you need to use special config for
your renderer:

Expand Down Expand Up @@ -2060,6 +2062,9 @@ your renderer:
]
"""

*(Note: the previous paragraph uses invisible characters to prevent rendering
TeX for display, so don’t copy the examples with three dots to your posts)*

Inline usage
~~~~~~~~~~~~

Expand Down

0 comments on commit ee96e2a

Please sign in to comment.