emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <lists@traduction-libre.org>
To: Protesilaos Stavrou <info@protesilaos.com>
Cc: emacs-humanities@gnu.org, orgmode <emacs-orgmode@gnu.org>
Subject: Re: Elegant way to export org to Markdown ?
Date: Sat, 2 Oct 2021 15:10:20 +0900	[thread overview]
Message-ID: <3C6B8391-E040-408F-ABE7-373EF4A8B26A@traduction-libre.org> (raw)
In-Reply-To: <874ka0q894.fsf@protesilaos.com>



> On Oct 2, 2021, at 14:57, Protesilaos Stavrou <info@protesilaos.com> wrote:
> 
> On 2021-10-02, 14:20 +0900, Jean-Christophe Helary <lists@traduction-libre.org> wrote:
> 
>> I'm trying to work with SourceHut (sr.ht) and right now they only
>> accept Markdown syntax for their readme/wiki files.
>> 
>> Since I work in Emacs/org-mode to write my documents (and try to stick
>> to that), I'd like to know if there is an elegant way to export org
>> syntax to MarkDown.
>> 
>> I was thinking that the export-dispatch had an option for Plain Text /
>> Markdown, but that doesn't seem to be the case.
> 
> Hello Jean-Christophe,
> 
> Have you tried the 'ox-md' which is part of Org?  Like this:
> 
>    (require 'ox-md)
>    (add-to-list 'org-export-backends 'md)
> 
> The export dispatched should then have an "Export to Markdown" option
> bound to 'm'.
> 
> There are more export backends as well.  If you do M-x find-library and
> search for "ox-" you will find more options.
> 
> All the best,
> Protesilaos (or simply "Prot")

Prot, Ihor,

Thank you *very much* for the pointers.

My follow-up question is, most of the ox-stuff seem to be installed by default, as far as I can tell. Why is ox-md not ?

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/



  reply	other threads:[~2021-10-02  6:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-02  5:20 Elegant way to export org to Markdown ? Jean-Christophe Helary
2021-10-02  5:55 ` Ihor Radchenko
2021-10-02  5:57 ` Protesilaos Stavrou
2021-10-02  6:10   ` Jean-Christophe Helary [this message]
2021-10-02  6:24     ` Ihor Radchenko
2021-10-02  6:32       ` Jean-Christophe Helary
2021-10-02  7:00         ` Ihor Radchenko
2021-10-02  7:34           ` Jean-Christophe Helary
2021-10-02  7:44 ` Tim Cross
2021-10-02  9:10   ` Jean-Christophe Helary
2021-10-02 12:18 ` Morgan Willcock
2021-10-02 13:31   ` Jean-Christophe Helary
2021-10-03  4:11 ` [emacs-humanities] " Jean-Christophe Helary

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=3C6B8391-E040-408F-ABE7-373EF4A8B26A@traduction-libre.org \
    --to=lists@traduction-libre.org \
    --cc=emacs-humanities@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=info@protesilaos.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).