The following rmarkdown
works fine when compiling to PDF (via LaTeX), but not when compiling to HTML (via Markdown).
PDF (via LaTeX)
---
title: "test"
author: "Maximilian Held"
output: pdf_document
documentclass: memoir
---
(@matrix-test2) $$
\bordermatrix{
~ & Petra & Ingrid \cr
Petra & 1 & 0 \cr
Ingrid & 0 & 1 \cr
}
$$
HTML (via Markdown)
---
title: "test"
author: "Maximilian Held"
output: html_document
documentclass: memoir
---
(@matrix-test2) $$
\bordermatrix{
~ & Petra & Ingrid \cr
Petra & 1 & 0 \cr
Ingrid & 0 & 1 \cr
}
$$
yields
What's up with that and on whose end is this (Pandoc? Markdown? MathML?)