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 ms11 with LMTPS id GDbADwT9x18fRgAA0tVLHw (envelope-from ) for ; Wed, 02 Dec 2020 20:45:56 +0000 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 CMB8CwT9x1+6DAAAbx9fmQ (envelope-from ) for ; Wed, 02 Dec 2020 20:45:56 +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 8850D9402A7 for ; Wed, 2 Dec 2020 20:45:55 +0000 (UTC) Received: from localhost ([::1]:37396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkZ0b-0002y9-1h for larch@yhetil.org; Wed, 02 Dec 2020 15:45:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkYzk-0002x8-9t for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 15:45:00 -0500 Received: from server173-4.web-hosting.com ([68.65.122.210]:38218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkYzh-0000pK-A8 for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 15:44:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=isnotmyreal.name; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:To:From:Date:MIME-Version:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bmG36ZX9hY8TQDb7KEw8iGyK2CuVYIvhVMKhuiH8bE0=; b=FU/keB8ZMFRMT4bbjyRWtGkQhc ldm0yiIez3PvM+EeLwkM94kdu6cpQSU87vNMggATA2Nyml3ozNRAdEevvXz0fGI+ijO6SRBVj5f4M 8MLbzhsBDXk4Fc/sWK/S3QBeTUyMWK1mmYM16CNpCQAZoDTFVnPf/RBeeSmge4tIi98/sQOgRmJhK zYrDPuuKq6v7/Q7MpEgItjgyvJQn5cDQb0ErwM+ywlkmQxjpspxd8EuyQwVnE5UzJPtsVrCgJD4b8 7/ZkMVJEeoq0vgshAq3u23BjDkeeJsU7LJr+13UA169XttTWIpRZ4V2FgT7omhaa9Z/EfY+0DlqwC E4uMA6cw==; Received: from [::1] (port=45276 helo=server173.web-hosting.com) by server173.web-hosting.com with esmtpa (Exim 4.93) (envelope-from ) id 1kkYzb-0045Rb-32 for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 15:44:55 -0500 MIME-Version: 1.0 Date: Wed, 02 Dec 2020 15:44:50 -0500 From: TRS-80 To: emacs-orgmode@gnu.org Subject: Re: Exporting .org to .md for Sourcehut (sr.ht); ox-md not following Markdown spec? In-Reply-To: <874kl4j8lx.fsf@gmail.com> References: <9aa624fff553d9d140a6d89aab12e21b@isnotmyreal.name> <874kl4j8lx.fsf@gmail.com> Message-ID: <2eb882bc4d0035d9ca861bfea49b8221@isnotmyreal.name> X-Sender: lists.trs-80@isnotmyreal.name User-Agent: Roundcube Webmail/1.3.15 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-0.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server173.web-hosting.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - isnotmyreal.name X-Get-Message-Sender-Via: server173.web-hosting.com: authenticated_id: lists.trs-80@isnotmyreal.name X-Authenticated-Sender: server173.web-hosting.com: lists.trs-80@isnotmyreal.name X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched Received-SPF: pass client-ip=68.65.122.210; envelope-from=lists.trs-80@isnotmyreal.name; helo=server173-4.web-hosting.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.28 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=isnotmyreal.name header.s=default header.b=FU/keB8Z; 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: 8850D9402A7 X-Spam-Score: -0.28 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 7L5Y26j3jAB1 > On 2020-12-02 14:44, Tim Cross wrote: > > I could be completely wrong here, but I suspect this is a combination > of the evolving markdown spec (or more specifically, no one standard > spec) and the age of the org mode markdown exporter. FWIW, it sort of feels that way to me, too. > One of the challenges with markdown is that there has never been one > universally accepted spec. Yes, I am aware of the history. And this is one of my main criticisms of Markdown, and why I prefer Orgmode (by a wide margin). In fact I agree (strongly) with Karl Voit's article "Org-Mode Is One of the Most Reasonable Markup Languages to Use for Text."[0] > It might be worth looking in the archive. I seem to recall other > discussions along these lines some months back. My flawed memory seems > to recall that it was probably time for org's markdown exporter to be > updated to fit with the more 'common' markdown standard, but I don't > recall which that was or whether anyone decided to take that > responsibility on. Thanks, I'll have a look. I was also sort of getting the sense that updating the Markdown exporter might be the answer, hence me starting this thread. > Org already has two markdown flavors - 'generic' markdown and github > flavoured markdown. Org's current markdown is based on > http://daringfireball.net/projects/markdown, which probably varies > enough from the one used by sourcehut to cause the problems you are > seeing. I think the problem is actually because Sourcehut are sanitizing the id attribute out of links, as I have replied already to some other people in this thread. > Unfortunately, this fails to provide a clear path to fix your problem. Yeah, this is like (at least) my second day into this now. :) Which is why I paused to seek more counsel on the best way forward. As there seem to be no good/clear (or at least, easy) answers. Thanks for the input. Cheers, TRS-80 [0] https://karl-voit.at/2017/09/23/orgmode-as-markup-only/