public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Keeping or converting table formats and defaults
Date: Tue, 10 Nov 2020 13:03:48 -0500	[thread overview]
Message-ID: <22abecf0-c653-9d93-f56c-92010e5c22d0@reagle.org> (raw)

I mostly use grid tables because my text editor requires vertical/column indicators to work [1]. 

One such grid table got overly wide, and I wanted to use pandoc to reformat it according to a new wrap and learned that Pandoc now outputs simple tables [2], which won't work with my text editor, and I cannot specify a preferred table format for the output. 

[1]: https://packagecontrol.io/packages/Table%20Editor
[2]: https://github.com/jgm/pandoc/issues/5393

From the thread, John suggests you *can* subtract everything else. I can confirm this works:

```
pandoc -t markdown-simple_tables-pipe_tables-multiline_tables test-tables.md
```

However, the last 3 lines in this default file doesn't work (e.g., "Unknown option 'multiline_tables'"). Should it?

```
atx-headers: true
standalone: true
simple_tables: false
pipe_tables: false
multiline_tables : false
```

Also, has there been any discussion of having pandoc, generally, preserve formatting options (beyond wrap), or is there a way for pandoc to parse a markdown file and output the formatting conventions I used (and become the basis of a default file)?

-- 
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/22abecf0-c653-9d93-f56c-92010e5c22d0%40reagle.org.


             reply	other threads:[~2020-11-10 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10 18:03 Joseph Reagle [this message]
     [not found] ` <22abecf0-c653-9d93-f56c-92010e5c22d0-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-11-10 18:31   ` John MacFarlane

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=22abecf0-c653-9d93-f56c-92010e5c22d0@reagle.org \
    --to=joseph.2011-t1oy19wchswdnm+yrofe0a@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).