From: Joost Kremers <joostkremers@fastmail.fm>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: Roland Everaert <reveatwork@gmail.com>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Tables not converted to markdown format with markdown exporter
Date: Wed, 08 Feb 2017 12:35:08 +0100 [thread overview]
Message-ID: <87h944ncer.fsf@fastmail.fm> (raw)
In-Reply-To: <87fujpc4j0.fsf@skimble.plus.com>
On Wed, Feb 08 2017, Sharon Kimble wrote:
> Roland Everaert <reveatwork@gmail.com> writes:
>
>> Hi,
>>
>> Since a few weeks we use mattermost at work and I had recently
>> to post a table to a team channel. I have created my table with
>> org-mode, but when I export it to markdown format, the table is
>> converted to html instead of markdown.
>>
>> Is there any reason to that, except the simple fact that table
>> conversion is not implemented yet?
>>
>> As the markdown format is quite similar to the org-mode format
>> regarding tables, I don't really see where could lie the
>> difficulty.
>>
>> Example:
>> - org format
>>
>> | column 1 | column 2 | column 3 |
>> |-----------+----------------+-----------------|
>> | some text | some more text | event more text |
>> | blah | 45 | fgf |
>>
>> - markdown format
>> | column 1 | column 2 | column 3 |
>> |-----------|----------------|-----------------|
>> | some text | some more text | event more text |
>> | blah | 45 | fgf |
>>
>> This is obviously a very simple example, but usually, with
>> mattermost, one doesn't post very complex messages.
>>
>> Regards.
>
> AFAIK markdown can't do tables. Any search of google won't show
> any ways
> of doing markdown-tables because its not available on markdown.
There are certainly markdown variants that support tables,
MultiMarkdown, PHP Markdown Extra and Pandoc markdown do, for
example.
Roland, if Org export won't work, you may want to take a look at
Pandoc. It accepts Org files as input and can produce Markdown
files as output, and it supports a number of different types of
tables. The kinds of tables you're looking for are called pipe
tables in Pandoc's documentation:
http://pandoc.org/MANUAL.html#tables
HTH
--
Joost Kremers
Life has its moments
next prev parent reply other threads:[~2017-02-08 11:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-08 8:28 Tables not converted to markdown format with markdown exporter Roland Everaert
2017-02-08 11:20 ` Sharon Kimble
2017-02-08 11:35 ` Joost Kremers [this message]
2017-02-08 13:22 ` Nicolas Goaziou
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h944ncer.fsf@fastmail.fm \
--to=joostkremers@fastmail.fm \
--cc=boudiccas@skimble.plus.com \
--cc=emacs-orgmode@gnu.org \
--cc=reveatwork@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).