Skip to content

Commit c32b2d4

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

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
 

‎state_data.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"last_deploy": "2017-05-21T10:03:44.339019"
2+
"last_deploy": "2017-05-23T18:51:25.223188"
33
}

‎stories/manual.txt

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

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

@@ -2000,6 +2002,9 @@ your renderer:
20002002
]
20012003
"""
20022004

2005+
*(Note: the previous paragraph uses invisible characters to prevent rendering
2006+
TeX for display, so don’t copy the examples with three dots to your posts)*
2007+
20032008
Inline usage
20042009
~~~~~~~~~~~~
20052010

0 commit comments

Comments
 (0)
Please sign in to comment.