public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* math in gist github markdown ?
@ 2017-11-25 15:22 denis
       [not found] ` <fc2c920e-393e-43cd-b37b-fa378002d3cd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: denis @ 2017-11-25 15:22 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 968 bytes --]

Are there pandoc options to turn a markdown file with \$ Latex \$
into one that gist.github will display ?
Sorry if this is a duplicate or silly; there's a long back-and-forth 
    https://github.com/github/markup/issues/897
with no simple answer (as far as I can see).

If not, recommendations for another web site that can do markdown with 
math, code, images
would be welcome.

Thanks, cheers

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/fc2c920e-393e-43cd-b37b-fa378002d3cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1417 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found] ` <fc2c920e-393e-43cd-b37b-fa378002d3cd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-25 15:50   ` mb21
       [not found]     ` <7a526ccc-6bab-4e4d-be17-7c799f68eacd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: mb21 @ 2017-11-25 15:50 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1292 bytes --]

GitHub Pages can either host plain HTML (which you can generate with pandoc 
--mathjax), alternatively GitHub pages uses Jekyll by default to render 
markdown, which supports Math... see e.g. https://jekyllrb.com/docs/extras/

cheers

On Saturday, November 25, 2017 at 4:22:39 PM UTC+1, denis wrote:
>
> Are there pandoc options to turn a markdown file with \$ Latex \$
> into one that gist.github will display ?
> Sorry if this is a duplicate or silly; there's a long back-and-forth 
>     https://github.com/github/markup/issues/897
> with no simple answer (as far as I can see).
>
> If not, recommendations for another web site that can do markdown with 
> math, code, images
> would be welcome.
>
> Thanks, cheers
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7a526ccc-6bab-4e4d-be17-7c799f68eacd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2445 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]     ` <7a526ccc-6bab-4e4d-be17-7c799f68eacd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-25 16:02       ` denis
       [not found]         ` <6ca534dd-d18e-4927-8b8b-02e0a44e9c08-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: denis @ 2017-11-25 16:02 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 762 bytes --]

Thanks mb21-- but I'd like gist.github if possible, simpler (for me).
Also the jekyll link says "LaTeX to PNG rendering ..." --
does that mean a .png per LaTeX snippet ? sounds hacky
cheers

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6ca534dd-d18e-4927-8b8b-02e0a44e9c08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1201 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]         ` <6ca534dd-d18e-4927-8b8b-02e0a44e9c08-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-25 23:28           ` Kolen Cheung
       [not found]             ` <002c9142-d0fa-49ab-806a-9f4dc726c9c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Kolen Cheung @ 2017-11-25 23:28 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

So you mean you want to release a gist on GitHub that has rendered Math, correct?

If so, in pandoc, use `-t gfm —webtex`. The later option convert your math into an image with a URL pointing to codecogs to render it as a png (or svg if you choose to).

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/002c9142-d0fa-49ab-806a-9f4dc726c9c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]             ` <002c9142-d0fa-49ab-806a-9f4dc726c9c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-27 12:11               ` denis
       [not found]                 ` <052c837c-3246-4afc-b0e6-291a536daf95-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: denis @ 2017-11-27 12:11 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 942 bytes --]

Kolen Cheung,
  can you help me please ? This must be my silly error, but I don't see it:

pandoc -t gfm -—webtex=https://latex.codecogs.com/png.latex \
    -s -f markdown+tex_math_single_backslash \
    -o downhill-class.gfm \
    downhill-class.md
Unknown option -—.   (minus minus)

no =url gives the same error
pandoc 2.0.3

Thanks, cheers


-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/052c837c-3246-4afc-b0e6-291a536daf95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1396 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                 ` <052c837c-3246-4afc-b0e6-291a536daf95-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-27 12:23                   ` denis
       [not found]                     ` <bf7b207a-406c-4601-ac11-faab64c6d086-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: denis @ 2017-11-27 12:23 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 719 bytes --]

Kolen Cheung,
  ignore the above: the error was a bad cut-pasted minus sign "-—webtex" 
(hex 2d e2)
instead of "--webtex" (hex 2d 2d)

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bf7b207a-406c-4601-ac11-faab64c6d086%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1161 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                     ` <bf7b207a-406c-4601-ac11-faab64c6d086-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-27 20:27                       ` Kolen Cheung
       [not found]                         ` <d6d6d98a-851c-4694-a534-86e3b6d8ff34-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Kolen Cheung @ 2017-11-27 20:27 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1341 bytes --]

I noticed that after I sent the message: my iPad auto-convert `--` into the 
en-dash `–`. (I disabled it right after that message.)

It seems that it works for you now. Next time, you may want to use the User 
Guide at <http://pandoc.org/MANUAL.html> to double check. I (and I guess 
many others here as well) often reply to a thread here from memory. So we 
might occasionally has some typo here and there (e.g. I might have 
misspelled `header-include`, where it might have an `s` in the end, but 
often I'm lazy to check this.)

On Monday, November 27, 2017 at 4:23:37 AM UTC-8, denis wrote:
>
> Kolen Cheung,
>   ignore the above: the error was a bad cut-pasted minus sign "-—webtex" 
> (hex 2d e2)
> instead of "--webtex" (hex 2d 2d)
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d6d6d98a-851c-4694-a534-86e3b6d8ff34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1941 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                         ` <d6d6d98a-851c-4694-a534-86e3b6d8ff34-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-28 18:03                           ` denis
       [not found]                             ` <603af2d6-e8e7-4698-9fc8-1f9786d901d6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: denis @ 2017-11-28 18:03 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1060 bytes --]


Actually, looking at the excellent doc, "-t gfm -webtex" doesn't seem right:

http://pandoc.org/MANUAL.html#math
    -t gfm markdown output: "verbatim between $ characters"  
    i.e a no-op, which is about what I get

http://pandoc.org/MANUAL.html#math-rendering-in-html
    -webtex is for -t html 
    and gist.github does not render html. 
    (Seems that gh-pages does, but looks horrible -- need a very simple 
recipe)
    
Or have I misunderstood ? very likely
Thanks again
cheers

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/603af2d6-e8e7-4698-9fc8-1f9786d901d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1560 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                             ` <603af2d6-e8e7-4698-9fc8-1f9786d901d6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-28 18:23                               ` John MacFarlane
  2017-11-28 18:28                               ` John MacFarlane
  1 sibling, 0 replies; 14+ messages in thread
From: John MacFarlane @ 2017-11-28 18:23 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Actually, --webtex does work for markdown output, but it
seems it doesn't work for gfm.  We could change that.
(Submit a bug report?  Also, we should document that
--webtex works for markdown.)

+++ denis [Nov 28 17 10:03 ]:
>   Actually, looking at the excellent doc, "-t gfm -webtex" doesn't seem
>   right:
>   http://pandoc.org/MANUAL.html#math
>       -t gfm markdown output: "verbatim between $ characters"
>       i.e a no-op, which is about what I get
>   http://pandoc.org/MANUAL.html#math-rendering-in-html
>       -webtex is for -t html
>       and gist.github does not render html.
>       (Seems that gh-pages does, but looks horrible -- need a very simple
>   recipe)
>
>   Or have I misunderstood ? very likely
>   Thanks again
>   cheers
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/603af2d6-e8e7-4698-
>   9fc8-1f9786d901d6%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/603af2d6-e8e7-4698-9fc8-1f9786d901d6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                             ` <603af2d6-e8e7-4698-9fc8-1f9786d901d6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-11-28 18:23                               ` John MacFarlane
@ 2017-11-28 18:28                               ` John MacFarlane
       [not found]                                 ` <20171128182821.GI443-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
  1 sibling, 1 reply; 14+ messages in thread
From: John MacFarlane @ 2017-11-28 18:28 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Never mind the bug report, I'm making the changes now...

+++ denis [Nov 28 17 10:03 ]:
>   Actually, looking at the excellent doc, "-t gfm -webtex" doesn't seem
>   right:
>   http://pandoc.org/MANUAL.html#math
>       -t gfm markdown output: "verbatim between $ characters"
>       i.e a no-op, which is about what I get
>   http://pandoc.org/MANUAL.html#math-rendering-in-html
>       -webtex is for -t html
>       and gist.github does not render html.
>       (Seems that gh-pages does, but looks horrible -- need a very simple
>   recipe)
>
>   Or have I misunderstood ? very likely
>   Thanks again
>   cheers
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/603af2d6-e8e7-4698-
>   9fc8-1f9786d901d6%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/603af2d6-e8e7-4698-9fc8-1f9786d901d6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                                 ` <20171128182821.GI443-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
@ 2017-11-28 19:07                                   ` denis
       [not found]                                     ` <fcc34caf-de13-4a8f-80f0-ff3779f1b3c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: denis @ 2017-11-28 19:07 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 857 bytes --]


Thanks for the quick response --
if you're ever in Munich IOU a 🍺

unfortunately gist.github doesn't render it  or I've made a mistake
testcase:
pandoc-webtex-gfm.mk : pandoc-webtex-gfm.mdmath -> pandoc-webtex-gfm.md
under https://gist.github.com/denis-bz

cheers

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/fcc34caf-de13-4a8f-80f0-ff3779f1b3c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1299 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                                     ` <fcc34caf-de13-4a8f-80f0-ff3779f1b3c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-28 19:26                                       ` Kolen Cheung
       [not found]                                         ` <35956809-fbcd-46be-9618-a3cf1cdb8c7c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Kolen Cheung @ 2017-11-28 19:26 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1324 bytes --]



For now you may try -t markdown_github --webtex.

The reason it (should) works is because --webtex would simply change the 
math to an URL pointing to codecogs for rendering. I’ve tried -t 
markdown_github --webtex so it should works. The reason -t gfm didn’t work 
yet is that it is a new parser that’s fully compatible with GitHub’s, but 
is very new.

On Tuesday, November 28, 2017 at 11:07:42 AM UTC-8, denis wrote:


> Thanks for the quick response --
> if you're ever in Munich IOU a 🍺
>
> unfortunately gist.github doesn't render it  or I've made a mistake
> testcase:
> pandoc-webtex-gfm.mk : pandoc-webtex-gfm.mdmath -> pandoc-webtex-gfm.md
> under https://gist.github.com/denis-bz
>
> cheers
>
​

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/35956809-fbcd-46be-9618-a3cf1cdb8c7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 7102 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                                         ` <35956809-fbcd-46be-9618-a3cf1cdb8c7c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-11-30 17:19                                           ` denis
       [not found]                                             ` <6ee5beb2-5fbd-448f-ab29-1e137cef4a3e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: denis @ 2017-11-30 17:19 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 900 bytes --]

Kolen, John,
 
thanks for 
https://github.com/jgm/pandoc/wiki/Pandoc-Tricks#math-in-pure-markdown
but "-f markdown_github" seems to break it, try
   pandoc --atx-headers '--webtex=https://latex.codecogs.com/png.latex?' \
    -s -f markdown_github -o temp-codecogs.md temp.md

pandoc 2.0.3

thanks, cheers
​

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6ee5beb2-5fbd-448f-ab29-1e137cef4a3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 4472 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: math in gist github markdown ?
       [not found]                                             ` <6ee5beb2-5fbd-448f-ab29-1e137cef4a3e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-12-11  8:15                                               ` Kolen Cheung
  0 siblings, 0 replies; 14+ messages in thread
From: Kolen Cheung @ 2017-12-11  8:15 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1065 bytes --]

Have you tried pandoc 2.0.4 that add support of using webtex with gfm?

On Friday, December 1, 2017 at 1:19:16 AM UTC+8, denis wrote:
>
> Kolen, John,
>  
> thanks for 
> https://github.com/jgm/pandoc/wiki/Pandoc-Tricks#math-in-pure-markdown
> but "-f markdown_github" seems to break it, try
>    pandoc --atx-headers '--webtex=https://latex.codecogs.com/png.latex?' \
>     -s -f markdown_github -o temp-codecogs.md temp.md
>
> pandoc 2.0.3
>
> thanks, cheers
> ​
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8192a34b-d28c-47a0-b4da-043f760e7da3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 6633 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-12-11  8:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-25 15:22 math in gist github markdown ? denis
     [not found] ` <fc2c920e-393e-43cd-b37b-fa378002d3cd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-25 15:50   ` mb21
     [not found]     ` <7a526ccc-6bab-4e4d-be17-7c799f68eacd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-25 16:02       ` denis
     [not found]         ` <6ca534dd-d18e-4927-8b8b-02e0a44e9c08-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-25 23:28           ` Kolen Cheung
     [not found]             ` <002c9142-d0fa-49ab-806a-9f4dc726c9c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-27 12:11               ` denis
     [not found]                 ` <052c837c-3246-4afc-b0e6-291a536daf95-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-27 12:23                   ` denis
     [not found]                     ` <bf7b207a-406c-4601-ac11-faab64c6d086-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-27 20:27                       ` Kolen Cheung
     [not found]                         ` <d6d6d98a-851c-4694-a534-86e3b6d8ff34-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-28 18:03                           ` denis
     [not found]                             ` <603af2d6-e8e7-4698-9fc8-1f9786d901d6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-28 18:23                               ` John MacFarlane
2017-11-28 18:28                               ` John MacFarlane
     [not found]                                 ` <20171128182821.GI443-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-11-28 19:07                                   ` denis
     [not found]                                     ` <fcc34caf-de13-4a8f-80f0-ff3779f1b3c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-28 19:26                                       ` Kolen Cheung
     [not found]                                         ` <35956809-fbcd-46be-9618-a3cf1cdb8c7c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-30 17:19                                           ` denis
     [not found]                                             ` <6ee5beb2-5fbd-448f-ab29-1e137cef4a3e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-12-11  8:15                                               ` Kolen Cheung

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).