public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Thijs Lemmens <thijs.lemmens-QLX95hcO0f8@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Markdown table output from docx files
Date: Fri, 23 Dec 2016 07:44:19 -0800 (PST)	[thread overview]
Message-ID: <9302a01c-5c36-4ea4-a4a0-01c9f6e2f73a@googlegroups.com> (raw)


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

Hello all

I'm trying to convert a docx file to markdown (as an input for hugo) with 
this command:
pandoc test.docx -f docx -t markdown -o out.md



But a simple table:

Input user

Presentation after pushing Enter

Search result

Tom Jerry

Tom AND Jerry

Tom AND Jerry

Tom OR Jerry

Tom OR Jerry

Tom OR Jerry

“Tom and Jerry”

“Tom and Jerry”

“Tom and Jerry”

Tom Jerry OR Goofy AND “Donald Duck”

Tom AND Jerry OR Goofy AND “Donald Duck”

((Tom AND Jerry) OR Goofy) AND “Donald Duck”

(Tom AND Jerry) AND “Donald Duck”

Goofy AND “Donald Duck”

Tom Jerry OR (Goofy AND “Donald Duck”)

Tom AND Jerry OR (Goofy AND “Donald Duck”)

(Tom AND Jerry) OR (Goofy AND “Donald Duck”)

Tom AND Jerry

Goofy AND “Donald Duck”
 comes out like this:

------------------------------------------------------------------------------------------------------------------------------------
Input user                               Presentation after pushing Enter             Search result
---------------------------------------- -------------------------------------------- ----------------------------------------------
Tom Jerry                                Tom AND Jerry                                Tom AND Jerry

Tom OR Jerry                             Tom OR Jerry                                 Tom OR Jerry

“Tom and Jerry”                          “Tom and Jerry”                              “Tom and Jerry”

Tom Jerry OR Goofy AND “Donald Duck”     Tom AND Jerry OR Goofy AND “Donald Duck”     ((Tom AND Jerry) OR Goofy) AND “Donald Duck”
                                                                                      
                                                                                      (Tom AND Jerry) AND “Donald Duck”
                                                                                      
                                                                                      Goofy AND “Donald Duck”

Tom Jerry OR (Goofy AND “Donald Duck”)   Tom AND Jerry OR (Goofy AND “Donald Duck”)   (Tom AND Jerry) OR (Goofy AND “Donald Duck”)
                                                                                      
                                                                                      Tom AND Jerry
                                                                                      
                                                                                      Goofy AND “Donald Duck”
------------------------------------------------------------------------------------------------------------------------------------


The problem is that this does not a correct markdown table, and Hugo 
(https://gohugo.io/) is not able to render this correctly to html. 

I searched the Pandoc manual, but I cannot find a way to control the 
Markdown table output. Can anybody help me, or is this not an option yet in 
Pandoc?

By the way, with html, the table is rendered correctly.

kind regards

Thijs



-- 
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/9302a01c-5c36-4ea4-a4a0-01c9f6e2f73a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

             reply	other threads:[~2016-12-23 15:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-23 15:44 Thijs Lemmens [this message]
     [not found] ` <9302a01c-5c36-4ea4-a4a0-01c9f6e2f73a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-12-23 20:36   ` Kolen Cheung
     [not found]     ` <47ac6425-1870-4522-9a6d-615c0dc7c785-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-01-02 11:56       ` Thijs Lemmens
     [not found]         ` <7c6f394f-94f6-4ad0-ae8d-d58ed44fdba2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-01-03  3:54           ` Kolen Cheung
     [not found]             ` <44d87e31-27f9-4e03-875a-9d8dd02c17de-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-01-03  3:57               ` Kolen Cheung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9302a01c-5c36-4ea4-a4a0-01c9f6e2f73a@googlegroups.com \
    --to=thijs.lemmens-qlx95hco0f8@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).