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 yB5WDr6Y0194CQAA0tVLHw (envelope-from ) for ; Fri, 11 Dec 2020 16:05:18 +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 cPAICr6Y019ZRQAAbx9fmQ (envelope-from ) for ; Fri, 11 Dec 2020 16:05:18 +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 5752C940502 for ; Fri, 11 Dec 2020 16:05:17 +0000 (UTC) Received: from localhost ([::1]:52710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knkux-0003eA-Aw for larch@yhetil.org; Fri, 11 Dec 2020 11:05:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knkkQ-0003BY-UF for emacs-orgmode@gnu.org; Fri, 11 Dec 2020 10:54:24 -0500 Received: from server173-4.web-hosting.com ([68.65.122.210]:39731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knkkL-0007cZ-9A for emacs-orgmode@gnu.org; Fri, 11 Dec 2020 10:54:22 -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=H0hr5J5eZ4qjgrRB6Kdc20NaIjMj4J78LqMmb80+ork=; b=MwRsgmB5LdZtqcVyS97t8MD3Eo xE1z7n0KMeCV74AO/aTN8P1aptkGPyNQxQKd6QiPSWPq3ihsBmKRAb4vVQx6hLa538Q/23QigHhXK newp+DNP6UAbhCxx4IfwT7kfOlKYpF4UO+V/MNGedJUnq4izJbKNKnZKfBWaE3O0I2gbIVxXgkSVj zKeSWGVJe/riUcrrk9R7XPDidi++eyZpOyKvfjdYPSVhMvND6jnTwtJqWlD0/hXYDlxtTuNMLGikP 1l3bv1+mI53n9b9Vt0piRXFCRs5m4X2RXU8fyqx5W9u48Vcmguz8VdKabDUOghlg0dgbsQHPjrVFq icsNttxQ==; Received: from [::1] (port=54528 helo=server173.web-hosting.com) by server173.web-hosting.com with esmtpa (Exim 4.93) (envelope-from ) id 1knkjX-002n7W-6k for emacs-orgmode@gnu.org; Fri, 11 Dec 2020 10:53:32 -0500 MIME-Version: 1.0 Date: Fri, 11 Dec 2020 10:53:27 -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: <9aa624fff553d9d140a6d89aab12e21b@isnotmyreal.name> References: <9aa624fff553d9d140a6d89aab12e21b@isnotmyreal.name> Message-ID: <3b1809bdd1a087709c7d91c3c8d492cb@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.30 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=isnotmyreal.name header.s=default header.b=MwRsgmB5; 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: 5752C940502 X-Spam-Score: -0.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: exP19nIBMWaU An update! I am very pleased to announce, that my campaign took me only a little less than 2 weeks to achieve success! :) And so, from now on, not only myself but /everyone/ who prefer writing in .org instead of .md now have a clear path to nice looking rendered HTML which is on par with the default .md at Sourcehut![0] This was the only real gripe I had with that platform, as I generally love what Drew is trying to do over there and I really wanted to continue my support and participation. And now I can! The main issue was that in-page links, generated by exporting .org -> .md, and then getting processed by Sourcehut's HTML renderer were getting broken in the process. However now they are working, as can now be seen for example at README of one of my projects: https://sr.ht/~trs-80/rofi-in-elisp/ Please feel free to go there and click in-page links! In fact I cannot remember the last time I got so much enjoyment from something so simple as clicking on a working in-page link! :D Just to re-cap, I had taken a 2 pronged approach. First was on sr.ht mailing list[1] about trying to fix the id sanitation in anchor links. After some discussion and a couple patches, this approach is now live and working. However, simultaneously, I had also been pursuing a Pandoc based solution (which, amazingly, was /also/ broken, but for a different reason). This second approach has now also bourne fruit in the form of a patch and a workaround, and eventually should also become fully supported.[2] I include both here for the benefit of anyone who comes searching along later. Special thanks to Tim Cross for helping me get the exact issue nailed down in my head so I could go forth onto other mailing lists and fora and explain the issue with clarity. It really feels great to make some small contribution back to the larger Orgmode ecosystem which has given me so much. Cheers, TRS-80 [0] https://sourcehut.org [1] https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3Cfe7aa296-9c90-463d-b4e6-50eeb7e57428%40localhost%3E [2] https://github.com/jgm/pandoc/issues/6916