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 a0c7afd commit c32b2d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion state_data.json
@@ -1,3 +1,3 @@
{
"last_deploy": "2017-05-21T10:03:44.339019"
"last_deploy": "2017-05-23T18:51:25.223188"
}
9 changes: 7 additions & 2 deletions stories/manual.txt
Expand Up @@ -1968,8 +1968,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 @@ -2000,6 +2002,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 c32b2d4

Please sign in to comment.