From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yK43JExcfGUWfgEAkFu2QA (envelope-from ) for ; Fri, 15 Dec 2023 15:01:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kBtwIExcfGVOOwAAqHPOHw (envelope-from ) for ; Fri, 15 Dec 2023 15:01:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DD6YFjdc; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702648908; 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=HPwh6+UcD1Yq3AqGt1BtMK+rQllgoYRAK18tJ3fPwow=; b=b04fTr5OP1vN4KLSPWo822BWh5qmxtxki+F34Fqd6pVeJwPI6D2MC33OuIgzfBv9TOGtpQ BflIsdfDqO6TTJ9dwlyb0pLa92LPQFbQOgmfFt8fOGmM4+ujSwv/I3IQdwrAo36g/0I+Ws O2TXLFaAqPUbxsSG7s5umdK+8SefzLVpt77dumqBFfPMt4dD3HI/9ywvhcPzKJSjPFWy7X J1vRzDnQVspvp6/UcmpuiV21SCrkfBiE73yx14Uw2+CjPLV0CvgmBdShUuN9tifbLfly40 C0RnYTb6zruOWLiw1bD537TkJUK8vUI2Qi+eo4ePHgNg3XXwO8aqAv5E1HlfYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702648908; a=rsa-sha256; cv=none; b=NUWp1ebl17dlCubN78FKUL5MXPJq+e7wYYR4kTgPbQGLlJno8YjK9ZqsF5bS8XNt0byk8O HHVP8+kgb98KxE1IbVYZo5RL3b1o6/Oci6CBZTPgQxpjFOq1oP6G1xo1VMBzCIEKiW8iiv rWvU5RGCmEieMtMgcDEZGuyEerVFLiRWfU1XmjdVsGp1Xsvkf0GlJ/x+M6Pf7BhM8fpUeY 6911ZHe/xD8zfagOeyQFW6fTZiCamyZgGUXbRwZzIbVrzBj+3FRU5hv40BkFCxVglC+kad NEQKEo4WZsE66ESWNY2sv6bQRxyMZyqENnsvjKPUITGiQJ1fklE8hgrUzjnbEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DD6YFjdc; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 2D2FF13CEF for ; Fri, 15 Dec 2023 15:01:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rE8kS-0007m2-IA; Fri, 15 Dec 2023 09:01:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rE8kM-0007is-Hl for emacs-orgmode@gnu.org; Fri, 15 Dec 2023 09:01:02 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rE8kD-0002Ea-2S for emacs-orgmode@gnu.org; Fri, 15 Dec 2023 09:00:57 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 77AA4240101 for ; Fri, 15 Dec 2023 15:00:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702648845; bh=/Zn+ExA9+hEGBYUQ39BCW5JNQ6Pzkhb3MGzK+wTsIug=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=DD6YFjdcJYVfyONxOBrJnyB3i8gKnYmQPQ3Xp2rVUtNqT87U/FhrH045BMMAcFY3F QJXhcR+fP2VVTweE1rYzHkZFY5/ZQI71swhSMdZPFIUL1GquBsDTcrtM54qc+Qn4VT tY8mXiUWR1bm6MKkEwc5M4z7PG0Jwwhxi5xCsui1m7siKf1HK/R2gNsATd5Cer6gK4 aBT2Bnd+/5/p1CXQvGjBAbdYkB2UW1BhYypcfZkbs6elkPdT4a2QGvdva690zFNTny i5ki6IIp63MgIeAU01yNKiMfdA4gtQoFIwKbkl7BthCIjhHIiWfVuYa5tujWU0nOGN wl9o8zYn1rspg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ss9q05XYGz6tw2; Fri, 15 Dec 2023 15:00:44 +0100 (CET) From: Ihor Radchenko To: Pablo Padilla Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Org Markdown exporter (ox-md) does not respect Footnotes heading level [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] In-Reply-To: References: Date: Fri, 15 Dec 2023 14:03:53 +0000 Message-ID: <87ttojzho6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.78 X-Spam-Score: -8.78 X-Migadu-Queue-Id: 2D2FF13CEF X-Migadu-Scanner: mx12.migadu.com X-TUID: BYKjRzs9/2XQ Pablo Padilla writes: > I have describe the bug here: https://emacs.stackexchange.com/q/79770/11978 Thanks for reporting! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6e72a4c7f Original post: Given that I have an Org document with footnotes And I have defined: #+BIND: org-md-toplevel-hlevel 2 And in my Emacs init script I have set: (setq org-export-allow-bind-keywords t) When I export using ox-md: C-c C-e m m Expected: Then I should see that the footnotes heading is a level 2 heading Actual: The footnotes heading is always exported as a level 1 heading Do I need to change another setting for this to work? The entire Org document: #+BIND: org-md-toplevel-hlevel 2 Post summary or tagline. ** level 1 Post starts here. [fn:1] *** level2 lorem ipsum ** Footnotes [fn:1] a footnote The resulting Markdown file: ## Table of Contents 1. [level 1](#orgfadcdb8) 1. [level2](#org61fade8) Post summary or tagline. ## level 1 Post starts here. 1 ### level2 lorem ipsum # Footnotes 1 a footnote -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at