lakshmivyas/hyde — Issue #71: markdown inline HTML problem
Author: robbwu
Created: 2011-10-12 04:56:48+00:00
State: open

The following LaTeX code enclosed in markdown:

```HTML
{% markdown %}

$$
\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}
$$

{% 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