Skip to content

Commit ee96e2a

Browse files
committedMay 23, 2017
Fix mathjax examples with zero-width space
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent a7a91a6 commit ee96e2a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
 

‎docs/manual.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -2028,8 +2028,10 @@ To use mathematics in a post, you **must** add the ``mathjax`` tag, no matter
20282028
which renderer you are using. (Exception: posts that are Jupyter Notebooks are
20292029
automatically marked as math)
20302030

2031-
By default, Nikola will accept ``\(...\)`` for inline math; ``\[...\]`` and
2032-
``$$...$$`` for display math. If you want to use the old ``$...$`` syntax as well
2031+
.. Note to editors: the paragraph below uses U+200B, zero-width space. Don’t break it.
2032+
2033+
By default, Nikola will accept ``\​(...\​)`` for inline math; ``\​[...\​]`` and
2034+
``$​$...$​$`` for display math. If you want to use the old ``$...$`` syntax as well
20332035
(which may conflict with running text!), you need to use special config for
20342036
your renderer:
20352037

@@ -2060,6 +2062,9 @@ your renderer:
20602062
]
20612063
"""
20622064

2065+
*(Note: the previous paragraph uses invisible characters to prevent rendering
2066+
TeX for display, so don’t copy the examples with three dots to your posts)*
2067+
20632068
Inline usage
20642069
~~~~~~~~~~~~
20652070

0 commit comments

Comments
 (0)
Please sign in to comment.