From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cH2/Bzn0V2GJIAAAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 07:55:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2LNcAzn0V2FzaQAAB5/wlQ (envelope-from ) for ; Sat, 02 Oct 2021 05:55:05 +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 5B5192AE6A for ; Sat, 2 Oct 2021 07:55:04 +0200 (CEST) Received: from localhost ([::1]:50402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWXzD-0000jL-Gv for larch@yhetil.org; Sat, 02 Oct 2021 01:55:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWXyj-0000j3-7u; Sat, 02 Oct 2021 01:54:33 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:43654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWXyh-0002kO-SE; Sat, 02 Oct 2021 01:54:33 -0400 Received: by mail-pj1-x102a.google.com with SMTP id k23-20020a17090a591700b001976d2db364so8616679pji.2; Fri, 01 Oct 2021 22:54:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=DkiQ20ioeImiHt5hkZCnHwWpyLzgb0gBaqcMjGSVaSw=; b=AltPOXU5+MZYu/vcBJTAewVUJMAVNg9rzkaiZMEQd1x3ojUPCaRNu5a08lp9GWrC13 tQ031HUJbYqjnW3+FDFiixUOYzPRIh+V3yzQXyyFEaxA3d662dagBkk+uEsG3XGt/hAz 8VtvYBAjL8XV6OKdmYCK/N3E3Kr3jGlF99eg0Zx9dShdiAAnQkf2i+memtAUVXKSrEZN abMkBJ2RkXCfCjdKbzC+XLMLnbw1wnAiVJMv01EMz4r86Ymaf2cAxEqj3s1UFLYoV4G1 i/P2/5CxrfLpDJM4QU/Ygto+z7Yru4UnAOGHRQUu0dfzT568tdBk2ttjy0oeUW9IGT7D SkNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=DkiQ20ioeImiHt5hkZCnHwWpyLzgb0gBaqcMjGSVaSw=; b=T5svuzzDWb3/ykW4blA4eSnKHH6ru+DgCp5t9C8DqrRunDupn4YyUbpa7S+SsGXrJH mv/ZEUn89MnL6a9+htgDxKop6ScdU2mhAj6NhQhA2RvXkoLudfbUtj+rGXh3a2jI3N7E xoY0fA/BkOBvQd3+0Tc7mh3DVrRfQ6Zm6LkAVtkxEilF7LGeRb55/AOxgKVIm8ZBRdTu 57NrPzRJJRPLU1q1wU25jIgNs6lTB1gcn6DtcaT6xptm1uBeN1M1tcW6iYOHf6EZQDNA RIAMmtZAigSv1XA+odhqTwcQflg9slixBKun3rb+zZDecELd/yGx8N2udsMYqj6aXVCm lFpQ== X-Gm-Message-State: AOAM533hoLxNm7vohda41jj4+KiZSkcPlYnT1z599MW+VOZcCaxLquG6 xIYa1pJnOINbe6QdOJgEXR0= X-Google-Smtp-Source: ABdhPJx2hgsTqfVC/sgSPshBY5+Ux0z4aUBpDzWipPqCj5KKfExQx4/LDfnQl211GGwy5KS0ejDudg== X-Received: by 2002:a17:902:b583:b0:13d:e495:187a with SMTP id a3-20020a170902b58300b0013de495187amr13257758pls.9.1633154070045; Fri, 01 Oct 2021 22:54:30 -0700 (PDT) Received: from localhost (211-22-147-226.hinet-ip.hinet.net. [211.22.147.226]) by smtp.gmail.com with ESMTPSA id b23sm8101978pfi.135.2021.10.01.22.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 22:54:29 -0700 (PDT) From: Ihor Radchenko To: Jean-Christophe Helary 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> Date: Sat, 02 Oct 2021 13:55:47 +0800 Message-ID: <871r54ynq4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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, orgmode 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=1633154104; 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:dkim-signature; bh=DkiQ20ioeImiHt5hkZCnHwWpyLzgb0gBaqcMjGSVaSw=; b=l5iH9Yuz+2T/GlvpVZYIp4ZbW7DiJUKTHg5shKZ+C2fHqwQ9g/TNlDp5PMALlrpKyFM0vP ojUsGW9zOnOnoSjnMLQcc2A/ZkWSZil58RFfzhk+Dft0vEG9jDahx5d0QwKVB+Yfp2fUYe gfRm/GRU5RLHFdtN8wHp9Z3ipmfOM2koZbJ5M7iJ5zHe+Il3HLACHbZpjLjhzJBSmyZviP Lnj2wX56gofdJiWuzLgMNFBhPRqMxciNNi643axb4pdlGtQ0BeWhe+OrO8Cbu6wYd37mFw aawoDkzQGxmKEg2xMoHC/qat1+0TX7a5d1tgVFyzHugt083Mhtt25Ak1LK06+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633154104; a=rsa-sha256; cv=none; b=FY3j7MB+Q9G0V0KRgKNvk/JlU4dBFu16UZKrjEMIQqlaMFbt2U/n2yk3GtvT6HAnbAzusD 0GjFlkuHDU+BFaaMoGo4PhWna3tGfUNXjnUt9GAkWgCrPSQdSaBfie9oLNHdd3f5Qw5G55 4FpjQ67AlVarHTHBrqs5paZSwRej+PT0t+symTJ1iL2c0YXGzaMrSASnFnq0vgkpIGm2CM dO2znAVT+9KLW2WSDldfYxs/7arb0QpM3/qZ+5xsrq+yw6xFjB1PsqV4coC7TAqcxNaQRm NkfAgQshnpK3HiYQNlU1NWr0gCHCsnHS36IFSG0UiKrLlFVWZnCPS9sZavA45w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=AltPOXU5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 0.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=AltPOXU5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 5B5192AE6A X-Spam-Score: 0.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: EMqSsVi0Tnpe Jean-Christophe Helary writes: > 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. I think you just need to load the markdown export backend in your config: (require 'ox-md) Best, Ihor