hyde / hyde-old

Static website generator inspired by Jekyll
http://ringce.com/hyde
MIT License
876 stars 82 forks source link

markdown inline HTML problem #71

Closed robbwu closed 12 years ago

robbwu commented 12 years ago

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 commented 12 years ago

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