Closed Ynjxsjmh closed 5 years ago
Do you have any meta data in the org file? I believe ox-gfm's template is broken (since the melpa package it's based on doesn't work either). Refer to this reddit post about the finer details. I use the default org template and edit it from there. There's an option that respects line breaks (I use it for latex exports).
You can try the adding the following meta tag:
#+OPTIONS: \n:t
Predict(F \rightarrow i) \\
= First(i) \\
= { i }
and it'll respect the new lines.
Or you can try the following change:
Predict(F \rightarrow i) \\
= First(i) \\
= { i }
and it should export somewhat properly, even without changing the meta tags.
It may be worth noting that the \\
don't contribute to the new lines for markdown exports afaik.
Thanks, your advice works.
I have some equations in org like
Exporting it into HTML will render like:
However if I use
M-x org-gfm-export-to-markdown
to export it into markdown, it becomes