Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markdown inline HTML problem #71

Closed
robbwu opened this issue Oct 12, 2011 · 1 comment
Closed

markdown inline HTML problem #71

robbwu opened this issue Oct 12, 2011 · 1 comment

Comments

@robbwu
Copy link

robbwu commented Oct 12, 2011

The following LaTeX code enclosed in markdown:

{% markdown %}
<p>
$$
\mathbf{V}_1 \times \mathbf{V}_2 =  \begin{vmatrix} \mathbf{i}&\mathbf{j}&\mathbf{k} \\ 
\frac{\partial X}{\partial u}&\frac{\partial Y}{\partial u}&0 \\ 
\frac{\partial X}{\partial v}&\frac{\partial Y}{\partial v}&0 \end{vmatrix} 
$$
</p>
{% endmarkdown %}

Hyde would translate the & and \ into something else; which is not compatible with
markdown documentation:

Note that Markdown formatting syntax is not processed
within block-level HTML tags. E.g., you can’t use
Markdown-style emphasis inside an HTML block.

I also tried standalone version of python-markdown; it conforms to the documentation above.
This behavior is very useful for me to write LaTeX code for MathJax to render it.

Could you please tell me how to resolve this problem?

Thank you,
Robb

@robbwu robbwu closed this as completed Oct 12, 2011
@robbwu
Copy link
Author

robbwu commented Oct 12, 2011

I found the reason;
The typogrify filter does the transformation.
Issue closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant