Hello, Timothy <tecos...@gmail.com> writes:
> Should one want to convert LaTeX images say to an SVG for HTML export, I > do not think one would want this behaviour to also apply to LaTeX being > exported to markdown. Why do you think so? This is consistent with everything else not supported by vanilla Markdown. > As such I see two 'sensible' paths forward: (1) just include LaTeX > verbatim when :with-latex is non-nil, or (2) introduce > `org-markdown-with-latex' which can be set to t/'verbatim or 'html. > > In the attached patch, I've taken the first approach. Let me know if > you'd like to take the second approach, or just inherit the HTML > behaviour for LaTeX after all. Obeying to :with-latex property means "ox-md" is somehow actively handling LaTeX fragments, which was not the initial intent, IIUC. The first idea was to provide a sensible default for such objects, because we're outside the specification anyway. I'd rather not overdo it. WDYT? Regards, -- Nicolas Goaziou