* Inline math does not render properly
@ 2023-11-25 1:52 matsuoka
[not found] ` <b2796085-1d5c-41c7-8772-5bedaca11da7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: matsuoka @ 2023-11-25 1:52 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 985 bytes --]
I converted a markdown file like below into html.
[Link](http://example.com)Text $x$
Github renders this properly.
[image: github.png]
However, when converted with pandoc test.md -o test.html --standalone
--katex -f gfm, inline math does not render properly (Same thing happened
when it is converted with mathjax). It seems that there should be a space
just after the link in order for pandoc to parse this file correctly. Is
this an expected behavior? I have a lot of markdown files that contains a
pattern like above, so I want inline math to be parsed properly.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b2796085-1d5c-41c7-8772-5bedaca11da7n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1467 bytes --]
[-- Attachment #2: github.png --]
[-- Type: image/png, Size: 12887 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Inline math does not render properly
[not found] ` <b2796085-1d5c-41c7-8772-5bedaca11da7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-12-05 15:04 ` Julien Dutant
0 siblings, 0 replies; 2+ messages in thread
From: Julien Dutant @ 2023-12-05 15:04 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1319 bytes --]
This seems to work fine:
pandoc --mathjax
[Link](example.com)Text $x$
Output:
<p><a href="example.com">Link</a>Text <span
class="math inline">\(x\)</span></p>
Perhaps clarify what output you expect.
On Saturday, November 25, 2023 at 12:52:22 PM UTC+11 matsuoka wrote:
> I converted a markdown file like below into html.
>
> [Link](http://example.com)Text $x$
>
> Github renders this properly.
>
>
> [image: github.png]
> However, when converted with pandoc test.md -o test.html --standalone
> --katex -f gfm, inline math does not render properly (Same thing happened
> when it is converted with mathjax). It seems that there should be a space
> just after the link in order for pandoc to parse this file correctly. Is
> this an expected behavior? I have a lot of markdown files that contains a
> pattern like above, so I want inline math to be parsed properly.
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/62bf5eb8-f817-4de0-b0a4-6bc739794d17n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2401 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-05 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-25 1:52 Inline math does not render properly matsuoka
[not found] ` <b2796085-1d5c-41c7-8772-5bedaca11da7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-12-05 15:04 ` Julien Dutant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).