public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pandoc html to markdown Table style is missing
@ 2021-07-29  2:24 GFTXWD
       [not found] ` <f9de5cea-d28a-48df-a31b-619f10bdb2acn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: GFTXWD @ 2021-07-29  2:24 UTC (permalink / raw)
  To: pandoc-discuss


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

I am using pandoc for the first time,I tried the following commands,【*pandoc 
hybmgx.html --from html --to markdown+grid_tables -o hybmgx.md*】,But can't 
get the correct result,Who knows what to do?


*Source file html example:*
[image: 1627524507(1).jpg]


*Converted markdown:*

[image: 1627524634(1).jpg]


*Expected value:*
[image: E(YRL1H}0@0EYZSW3WUU_W2.png]

-- 
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/f9de5cea-d28a-48df-a31b-619f10bdb2acn%40googlegroups.com.

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

[-- Attachment #2: 1627524634(1).jpg --]
[-- Type: image/png, Size: 91048 bytes --]

[-- Attachment #3: E(YRL1H}0@0EYZSW3WUU_W2.png --]
[-- Type: image/png, Size: 286887 bytes --]

[-- Attachment #4: 1627524507(1).jpg --]
[-- Type: image/png, Size: 208334 bytes --]

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

* Re: pandoc html to markdown Table style is missing
       [not found] ` <f9de5cea-d28a-48df-a31b-619f10bdb2acn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-07-29 21:53   ` John MacFarlane
       [not found]     ` <m2r1fgiy7i.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2021-07-29 21:53 UTC (permalink / raw)
  To: GFTXWD, pandoc-discuss


I'm assuming you want a grid table?  Using +grid_tables simply
enables grid tables (which is not necessary, because they're
enabled by default for markdown).  But pandoc's markdown
writer only uses grid tables when simple or multiline or
pipe tables won't work.  To force grid tables , you can
disable all the other table styles:

    -f markdown-simple_tables-multiline_tables-pipe_tables


GFTXWD <yu1638234804-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I am using pandoc for the first time,I tried the following commands,【*pandoc 
> hybmgx.html --from html --to markdown+grid_tables -o hybmgx.md*】,But can't 
> get the correct result,Who knows what to do?
>
>
> *Source file html example:*
> [image: 1627524507(1).jpg]
>
>
> *Converted markdown:*
>
> [image: 1627524634(1).jpg]
>
>
> *Expected value:*
> [image: E(YRL1H}0@0EYZSW3WUU_W2.png]
>
> -- 
> 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/f9de5cea-d28a-48df-a31b-619f10bdb2acn%40googlegroups.com.

-- 
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/m2r1fgiy7i.fsf%40johnmacfarlane.net.


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

* Re: pandoc html to markdown Table style is missing
       [not found]     ` <m2r1fgiy7i.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2021-07-30  4:02       ` GFTXWD
  0 siblings, 0 replies; 3+ messages in thread
From: GFTXWD @ 2021-07-30  4:02 UTC (permalink / raw)
  To: pandoc-discuss


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

Thanks to the answer of'John MacFarlane', I got the desired result.☺


[image: CJ5O5ZAWU3)@AE0%1U(7@WS.png]

在2021年7月30日星期五 UTC+8 上午5:53:36<John MacFarlane> 写道:

>
> I'm assuming you want a grid table? Using +grid_tables simply
> enables grid tables (which is not necessary, because they're
> enabled by default for markdown). But pandoc's markdown
> writer only uses grid tables when simple or multiline or
> pipe tables won't work. To force grid tables , you can
> disable all the other table styles:
>
> -f markdown-simple_tables-multiline_tables-pipe_tables
>
>
> GFTXWD <yu1638...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > I am using pandoc for the first time,I tried the following 
> commands,【*pandoc 
> > hybmgx.html --from html --to markdown+grid_tables -o hybmgx.md*】,But 
> can't 
> > get the correct result,Who knows what to do?
> >
> >
> > *Source file html example:*
> > [image: 1627524507(1).jpg]
> >
> >
> > *Converted markdown:*
> >
> > [image: 1627524634(1).jpg]
> >
> >
> > *Expected value:*
> > [image: E(YRL1H}0@0EYZSW3WUU_W2.png]
> >
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/f9de5cea-d28a-48df-a31b-619f10bdb2acn%40googlegroups.com
> .
>

-- 
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/5f4c66f6-2208-4dd3-8a61-23f1e25b25a2n%40googlegroups.com.

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

[-- Attachment #2: CJ5O5ZAWU3)@AE0%1U(7@WS.png --]
[-- Type: image/png, Size: 105716 bytes --]

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

end of thread, other threads:[~2021-07-30  4:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29  2:24 pandoc html to markdown Table style is missing GFTXWD
     [not found] ` <f9de5cea-d28a-48df-a31b-619f10bdb2acn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-07-29 21:53   ` John MacFarlane
     [not found]     ` <m2r1fgiy7i.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-07-30  4:02       ` GFTXWD

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