emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Markdown export is non-deterministic?


From: Max Nikulin
Subject: Re: Markdown export is non-deterministic?
Date: Sat, 8 Oct 2022 21:57:21 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 08/10/2022 05:31, Matias Eyzaguirre wrote:

#+begin_example
1.  [Introduction](#org775f005)
2.  [Roadmap](#orgccee397)
#+end_example

While these identifiers are generally not visible to a reader, they
add noise to the version control diffs. I'm wondering if it's possible
to force the relevantrandom number generator to use a fixed seed or,
more ideally, have the ids be based on the section title (or its
hash)?

You may try to add CUSTOM_ID property to section. Current behavior is intentional, see e.g.

Nicolas Goaziou… Re: HTML export uses anchor ids which change on every export. Sat, 29 May 2021 21:50:24 +0200. https://list.orgmode.org/87bl8tz5dr.fsf@nicolasgoaziou.fr

A long discussion:

Samuel Wales. stability of toc links. Tue, 8 Dec 2020 16:28:46 -0700. https://list.orgmode.org/CAJcAo8tXVW39h18FUXLtwoDYNKQsFHqCp+YDiyWfLee29B1PRw@mail.gmail.com

Some people managed to implement anchors based on heading titles

TEC. [Interest] Determanistic Org IDs. Sun, 19 Jul 2020 22:27:31 +0800. https://list.orgmode.org/E1jxAjg-0004Dk-U6@lists.gnu.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]