From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 2KmFNNzw/2KaXwEAbAwnHQ (envelope-from ) for ; Fri, 19 Aug 2022 22:21:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +DRnNNzw/2ItSQAAauVa8A (envelope-from ) for ; Fri, 19 Aug 2022 22:21:48 +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 1B671B889 for ; Fri, 19 Aug 2022 22:21:48 +0200 (CEST) Received: from localhost ([::1]:59384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP8V1-0001qI-24 for larch@yhetil.org; Fri, 19 Aug 2022 16:21:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP8Ts-0001of-Al for emacs-orgmode@gnu.org; Fri, 19 Aug 2022 16:20:36 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:54239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP8Tq-0005XI-At for emacs-orgmode@gnu.org; Fri, 19 Aug 2022 16:20:35 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C67205C02C5 for ; Fri, 19 Aug 2022 16:20:30 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute5.internal (MEProxy); Fri, 19 Aug 2022 16:20:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quanticle.net; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1660940430; x=1661026830; bh=xS+MxvdBshpXu5R4yRLj+1O2/AOt1gQQeMD rgBMHkfE=; b=GxlS5PdRMah7MzdUTHb08bDhoN2AcORZgbxveF/5AmdLyjDAus8 05jWL30b5H4KM5YR6+LwEcxYRMbIvTp0ueI2QScc9CKW7J5BlP3ZcmIlwVGj4wve FtH6Y9sh0SlheiyN8Qw++VwbpB13egswtX4HT9JsPPFA3Tivoc/gjI4AwIA0S4Ly LpxjryrJz4TmSl3EvB4bBWM50rkD+B7lEPzaQG0IH3sQItGASROVVZFKwlAu/KEs DQ1VJyQkUJ9J2wUn4TxwoIlE42AGfWwQNNtBnYChwH6EhVNVsBzROFHjBV4X12NI LzNquEqBxdBfcs1HAQQSlh4k9uhYpuuKZuw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1660940430; x= 1661026830; bh=xS+MxvdBshpXu5R4yRLj+1O2/AOt1gQQeMDrgBMHkfE=; b=W 1ryiGFYtWm2BZJ1qZv9ue1UJ9SLCeKVik5Sw3LQ+iT4J4e2uANcXnTZlqKyQKBzW /Bb9Jqu520tWYIJIoeC5+JD4pA+VGQpZF7jD9SrMmlraKabCrKfCC8//7Kw2NEEn gczmuB6NlAAdFUJSqjAWWdvB5irU1iiJREbuhECy1dsTBapfm6Di4QJdv0Lxf4U6 ypOvjmKNRNO4aE5Yk95aRVr/dApCUYmWA911Cb3dsP+WAJZw0/ILI5/+C55uJU4t O9annmO2RVf+H6slCWgjQgZSacu20ZFCafs8GI7pXS336CHhe1oiWf9mSti/xKaE aTQLwy43jED3X6nBvSQDw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeiuddgudehudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtre dtreertdenucfhrhhomhepfdftohhhihhtucfrrghtnhgrihhkfdcuoehquhgrnhhtihgt lhgvsehquhgrnhhtihgtlhgvrdhnvghtqeenucggtffrrghtthgvrhhnpeehudeludelke ekhfdvieegteelhfeghfetvdefkedvvedvfeeftdfhhfegvefgteenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehquhgrnhhtihgtlhgvsehquh grnhhtihgtlhgvrdhnvght X-ME-Proxy: Feedback-ID: i0db1457f:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 83A2236A0071; Fri, 19 Aug 2022 16:20:30 -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 Message-Id: Date: Fri, 19 Aug 2022 15:20:02 -0500 From: "Rohit Patnaik" To: emacs-orgmode@gnu.org Subject: [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: text/plain Received-SPF: pass client-ip=66.111.4.28; envelope-from=quanticle@quanticle.net; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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=1660940508; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xS+MxvdBshpXu5R4yRLj+1O2/AOt1gQQeMDrgBMHkfE=; b=aVErXA0CNh4YMX290BME6twcD6lkUCT9bgy7fgf9NSluGp4yYWDcufSzomIZPZaemzEYyn MubbEXyHTz4vc9kfXArs2gi8RLwj3SrQKJdkMkIfIsbZxEejTTA669YG+lrk/Kc5ohd9OG UiuAdeZ49ABRKDbSvQ3U/eIwdd8e2zE8mQv/cNqA5Ds9pIebCuGIOvsAC0HVlxiKd06OZs UjwlbKoQ1FDwkpeBOf6thy0DZ54fmjyQFsDbBUv3okzt4pPKKuxB7Hcqt9vOgd1Z2GAdVE 2KgKi5F4I6pnVULWhIjwcHh94fRoIaIjzBwy/TdEySOfiL8g5OUL2BHNusYRew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660940508; a=rsa-sha256; cv=none; b=SmZv8YyaZXxRsY7lzTwjlmLEYnWK03WHSbfU2rHRr/6nz5UjvXLtpJ8HLDvMM+U/aqU+Hm EI1giiM+X7TNOCqRcR14bVldhG0+HIAtol4zi6A4McDoKpAHCFvZnKiVODAw1yzANl7hIq ldeU4uwALxbyONUwupB5j3EK237kL+hOg8V7FmGvkjfS/fxj8f5kWdaUpbNocVvI6ZsRp7 xn+8lNn9BiBZV/eP82GglQu6OHWZ4T2WiK14Tc2KLnA2H6pbICIb0UAhjw4zInPVwcmgh7 yOF5KKFJcJA3nkjrJ2Vg3YqPtrNw5djZAVALxRg+WkZt3KyqpGG1IoAPwK5GMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=quanticle.net header.s=fm1 header.b=GxlS5PdR; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="W 1ryiGF"; 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: 1.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=quanticle.net header.s=fm1 header.b=GxlS5PdR; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="W 1ryiGF"; 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: 1B671B889 X-Spam-Score: 1.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: jFvugkvL2dl+ Hello, I've been exporting several of my org-mode notes to markdown recently, and I've been running into an issue where I've had to manually adjust the level of the top level headings in my exported notes because the wiki system I'm importing the notes to reserves h1 (i.e. #) for page titles, using h2s (i.e. ##) for sections within the page itself. I noticed that ox-html.el has a org-html-toplevel-hlevel variable, which allows the user to set the heading level of top-level headings within the exported content. Would there be any problems with implementing a similar variable (e.g. org-md-toplevel-hlevel) to allow the user to set the heading level of top level headings within exported markdown content? It looks like it would be a small change, and I'd be happy to implement it myself, but I thought I'd run it by the list to see if there were any major issues that might arise from making this change. Thanks, Rohit Patnaik