You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yfzhao20 I am sorry to hear about your trouble. It's best to drop out of markdown before math blocks:
\documentclass[UTF8]{ctexart}
\usepackage[hybrid]{markdown}
\usepackage{amsmath}
\begin{document}
\begin{markdown}
Here is a formula:
\end{markdown}
$$\begin{aligned}\cos^n\theta&=\left(\frac{e^{i\theta}+e^{-i\theta}}{2}\right)^n\\... trimmed for brevity\end{aligned}$$\begin{markdown}
Let's talk about something else ...
\end{markdown}
\end{document}
As you have noticed, \\ and _ will get interpreted by Markdown as \ and the beginning of emphasized text, respectively. You can disable the interpretation of _ by specifying the underscores=false option, but you still have to write \\\\ for \\.
I am closing this issue as a duplicate of #61. Please, feel free to direct further questions and ideas there.
Hi! When I use
$$...$$
(math blocks) in markdown environment, it gives me a thousand bugs😂 like that:Here is my file:
however if I only keep the first two lines of my math formula, everything will be okay:
The code of math block should be okay because I have tested it in Markdown editor. It should be displayed like this:
What's the matter? Is it the bug of
markdown
package, or my fault?🤔by the way: I find only
\\\\
can give me correct line break in math block but not\\
, even I open "hybrid".Thanks!!
The text was updated successfully, but these errors were encountered: