From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8FUVO930V2EuIQAAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 07:57:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aK+JNt30V2HXTQAAbx9fmQ (envelope-from ) for ; Sat, 02 Oct 2021 05:57:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 80690FF73 for ; Sat, 2 Oct 2021 07:57:49 +0200 (CEST) Received: from localhost ([::1]:52922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWY1s-0002Zp-NN for larch@yhetil.org; Sat, 02 Oct 2021 01:57:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWY1O-0002ZJ-Jr; Sat, 02 Oct 2021 01:57:19 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:42129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWY1M-0005Fh-O2; Sat, 02 Oct 2021 01:57:18 -0400 Received: (Authenticated sender: public@protesilaos.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id F416640005; Sat, 2 Oct 2021 05:57:12 +0000 (UTC) From: Protesilaos Stavrou To: Jean-Christophe Helary , orgmode Subject: Re: Elegant way to export org to Markdown ? In-Reply-To: <03D77FFE-6631-44E1-A77B-F074588AAB3B@traduction-libre.org> References: <03D77FFE-6631-44E1-A77B-F074588AAB3B@traduction-libre.org> User-Agent: Notmuch/0.33.2 (https://notmuchmail.org) Emacs/28.0.50 (x86_64-pc-linux-gnu) Date: Sat, 02 Oct 2021 08:57:11 +0300 Message-ID: <874ka0q894.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=217.70.183.194; envelope-from=info@protesilaos.com; helo=relay2-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-humanities@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633154269; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=HzV8IIZXxvXyTrCpA7JxH7FM1PYRlIQA4/fHquP8vSA=; b=RGAgHSR1kqSlqcv0fTW+NJHJaS+4WFU/lAnMTMofxuO3i1FyxRMO4KADfhVdXkNnM5CSVq ljcbC/UaBXCVDnGiJV8bBEF04Sl5MYk+A4Smkw5xOcXXCNQaPLh/kgEA7X9v8AJvteWDbk t0xIEAskSR3Sds3XCkprgWTLBVPJF4zl7vdSgS/rHSsSlhI1hvgOeX6tfZ9U9273jlhgpD EAnbXnLOP/VaeBJH+E9+IIqRbkGwujW0fvl0YsZ0O9FA7A9OkP7ayL2k/KmDO4E8L4WiXk yFKUY75b5DSfo8C3KMInpaQiQ+c5bh+KIJmRTXacfxtfRlpTLiQdPmu01gpD8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633154269; a=rsa-sha256; cv=none; b=g0FQGNaz44sLS5sXXrq6WjHZsKna7ZW8yibQqESQAmVET16u6W69m1GWnudaFaungoCAQK ueb2oxiprI95ZLyCsvxwOmxrCF/bHo08NUgCmxBB7AM0DkJC2ZifTPZzFKlDblHwueF+N8 GXaeGMbf+JR3/skW3rQirxQ/KGnCz3PsCy5+Ap96sYViLCuqYm3Uu/ytJMAw5OdJrsDJoE DqXWXGmOq8GE1I5wi9Ex+AxtD7Nb9yGgRWw8azM8Bg82nG2CCywc7G45Ih/xy+rjTrY9Pp FuDGt+/c5gtxzer5XszaBx9Zs7Ix/NneQaXzfluJEe5yC9xT21eQGjlFWNLf2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 80690FF73 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: YrjLdq3OqxBC On 2021-10-02, 14:20 +0900, Jean-Christophe Helary 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") -- Protesilaos Stavrou https://protesilaos.com