public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Keeping or converting table formats and defaults
@ 2020-11-10 18:03 Joseph Reagle
       [not found] ` <22abecf0-c653-9d93-f56c-92010e5c22d0-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Reagle @ 2020-11-10 18:03 UTC (permalink / raw)
  To: pandoc-discuss

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.


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

* Re: Keeping or converting table formats and defaults
       [not found] ` <22abecf0-c653-9d93-f56c-92010e5c22d0-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2020-11-10 18:31   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2020-11-10 18:31 UTC (permalink / raw)
  To: Joseph Reagle, pandoc-discuss

Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:


> 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
> ```

Extensions are not options.  You can specify them in the input or
output format:

to: markdown-simple_tables-pipe_tables-multiline_tables

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

No.


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

end of thread, other threads:[~2020-11-10 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 18:03 Keeping or converting table formats and defaults Joseph Reagle
     [not found] ` <22abecf0-c653-9d93-f56c-92010e5c22d0-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2020-11-10 18:31   ` John MacFarlane

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