From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kJmGBJdLAmO5OgEAbAwnHQ (envelope-from ) for ; Sun, 21 Aug 2022 17:13:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cAVoBJdLAmPdNAEA9RJhRA (envelope-from ) for ; Sun, 21 Aug 2022 17:13:27 +0200 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 86F4311404 for ; Sun, 21 Aug 2022 17:13:26 +0200 (CEST) Received: from localhost ([::1]:39188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPmdh-00077e-Lb for larch@yhetil.org; Sun, 21 Aug 2022 11:13:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPmck-00076l-Ib for emacs-orgmode@gnu.org; Sun, 21 Aug 2022 11:12:27 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57765) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPmci-0007m5-FV for emacs-orgmode@gnu.org; Sun, 21 Aug 2022 11:12:26 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BD0CC5C0126 for ; Sun, 21 Aug 2022 11:12:23 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute5.internal (MEProxy); Sun, 21 Aug 2022 11:12:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quanticle.net; h=cc:cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to; s=fm1; t= 1661094743; x=1661181143; bh=OcbHKysrh888f3yRqhkH/oV4mLdZL/bc9+/ cLaOjc50=; b=ZpuME6TtaO1VaZQhHpxN7G+2myUK2N5EseLswIwjvAhRVZghhZl UthUMWhF5WxgxE4G8BlLvZgIvyMZmUjGyQG8BafFRzp9Xy1WRsoBvz6JRVNyvCjp YMhhOuM1f5lOeTrf5XLzrI8nYyZ62RB1dr0oEgzujl+hff4gC1Z6MMrtQ3XHEgtX KHEAxHNgZEZ7Q2VDwcX3mMCEuS1V85k+VPXNno9Md/AdOtR//PoKCHNcXzEYmmLx tjuN2OEJ24dXJTDL/l/outLwVxm2qh4AKdtHfn9LLFhWemkJGqLBzeEZ2AKRJqgl IIOoQnQmO7r573qdptmXxhTdZ1MQ/BZdveQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1661094743; x= 1661181143; bh=OcbHKysrh888f3yRqhkH/oV4mLdZL/bc9+/cLaOjc50=; b=a qxsUlJBeWgiAh5Iicbk9INGuKUenaH+Ggy/wmJHF2kmy5Gf28GY8nGkbdt4AHT1O dGqWFrQ8gdKB49SHOn52bHOIEv9ye3dhLOd1aGldc1VPoHD5NwHg4iJ1ZowUmbZZ /ypKrupktdCOUjWCW2UlSMgUA/TXeVFJzi6y7vNs8kGaE5dGl4HikFq/4nIRoTnu VsECH9pI59Mk43H12mnuKF+hB1sKnigJWQbbtzfpgaGVLyOG7HgzMt1NIGk56Dcp biiNloNQV/8Trn/oaaNN5vwHF8wmw7tWRLfSOqyR7JDSxHO1TO42ikMZ2QPPHvkV 9MRCip0eWUOyMaplZJY0g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeihedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenuchmihhsshhinhhgucfvqfcufhhivghlugculdeftd dmnecujfgurhepofgfggfkfffhvefutgesrgdtreerreertdenucfhrhhomhepfdftohhh ihhtucfrrghtnhgrihhkfdcuoehquhgrnhhtihgtlhgvsehquhgrnhhtihgtlhgvrdhnvg htqeenucggtffrrghtthgvrhhnpeevgeetffevueevvdfhkeeiueeutddvieefudfhkeeh keefhedvjedvueegueefveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehquhgrnhhtihgtlhgvsehquhgrnhhtihgtlhgvrdhnvght X-ME-Proxy: Feedback-ID: i0db1457f:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8A08B36A0071; Sun, 21 Aug 2022 11:12:23 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 x-forwarded-message-id: <47b3902e-cc80-4317-a761-9301abd50b3c@www.fastmail.com> Message-Id: Date: Sun, 21 Aug 2022 10:12:02 -0500 From: "Rohit Patnaik" Cc: emacs-orgmode@gnu.org Subject: Fwd: Re: [Feature Request] Create an org-md-toplevel-hlevel variable to allow users to set the level of top level headings in markdown export Content-Type: multipart/alternative; boundary=233ab1d7cee14dd7b9425beb17a4bcc1 Received-SPF: pass client-ip=66.111.4.27; envelope-from=quanticle@quanticle.net; helo=out3-smtp.messagingengine.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, HTML_MESSAGE=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661094806; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OcbHKysrh888f3yRqhkH/oV4mLdZL/bc9+/cLaOjc50=; b=IWLgeGntJHLSy9Wo9sKznwveLHcBZNtxebZVYr2fQ1uu3gba4oQf4daW7G+35CDEinLR9a N10L2E0F2la1SBmfxU8nOIzP/BENwTWeoztUbFbF87io66GLhKjBv+dPiRaJ2ImOlDD4DW SX7Oik9iYqARujimIhAi09L+eSGoGl/taRcj9eYfFJGNCdB+FcZ/n6kd20bVoVvxA0opfD zS+cqtSCAvAlFWvLCCKYprCIt+ldXKt4nUaDGYCEKxtQfDMPNRcIY/x6cIVWdzFk92y7Od phDchg3okmWS4MmxS+5JDw9n3wqvFswgRcuOvqS2JPK7IyQJ2gvB+WYLbIR7rQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661094806; a=rsa-sha256; cv=none; b=NhSqMMi6BcT1pYVIiZoxPfugE6Wc/RzKc/8mcNlQ5HqoT5tSD15uA0/VHsSaYZ8imQJZ5J rR+gAATHfqcyPkx9pIYUKtkdKKz0M3/fWWU0HpAHbXaU+wDsj/bvz+lgbB0xggFMwE0MlO LqWN11fAY3oo3Rdmc4iv6/qhRMXcA9vEuxyikJuADafDUu568CwO0v9WWSsNaiSe4c7hK2 IVJPJXOnVh5hPgdZ+X/+qvr9WbSdN4YQRJwgQrbNp6BPlLA2Mr/VKUY361eEbjJPty5uRa MHbJy4gHwiW/TzM1tL+u6wF6AP9pXFCGKPa1UDX+CM4BiJdfbggY00OIVGEsrA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=quanticle.net header.s=fm1 header.b=ZpuME6Tt; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="a qxsUlJ"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.78 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=quanticle.net header.s=fm1 header.b=ZpuME6Tt; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="a qxsUlJ"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 86F4311404 X-Spam-Score: 5.78 X-Migadu-Scanner: scn0.migadu.com X-TUID: KNORsigIOWs+ --233ab1d7cee14dd7b9425beb17a4bcc1 Content-Type: text/plain > Since md backend is derived from html, is it necessary to define an > option specific to markdown or the value defined for HTML may be reused? > I am unsure which variant will be more convenient, so it is not more > than an idea that may be easily discarded. I considered reusing the value from the HTML exporter, but I rejected it, because the org-html-toplevel-hlevel defaults to 2. Reusing it would alter the existing default behavior for markdown exports, which I thought was undesirable. If you think it's okay to alter the existing behavior of Markdown exports, I could change the code to use org-html-toplevel-hlevel to control the top level heading level of both HTML and markdown exports. Thanks, Rohit --233ab1d7cee14dd7b9425beb17a4bcc1 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
> Since md b= ackend is derived from html, is it necessary to define an 
> option specific to ma= rkdown or the value defined for HTML may be reused? 
= > I am unsure which variant will be more convenient, so it is not mor= e 
> than an idea that may be easily discarded.

I considered reusing the value from the HTML = exporter, but I rejected it,
because the org-html-toplevel= -hlevel defaults to 2. Reusing it would alter the
existing= default behavior for markdown exports, which I thought was undesirable.=

If you think it's okay to alter the existi= ng behavior of Markdown exports, I
could change the code t= o use org-html-toplevel-hlevel to control the top level
he= ading level of both HTML and markdown exports.

<= div>Thanks,
Rohit

--233ab1d7cee14dd7b9425beb17a4bcc1--