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 a1MPJh1FQmMmxAAAbAwnHQ (envelope-from ) for ; Sun, 09 Oct 2022 05:50:53 +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 h4odJR1FQmMXiQAA9RJhRA (envelope-from ) for ; Sun, 09 Oct 2022 05:50:53 +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 4A818F583 for ; Sun, 9 Oct 2022 05:50:53 +0200 (CEST) Received: from localhost ([::1]:56230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohNL2-0003cA-Fx for larch@yhetil.org; Sat, 08 Oct 2022 23:50:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohNJh-0003Wv-To for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 23:49:37 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:33766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohNJf-0002bt-P3 for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 23:49:29 -0400 Received: by mail-pg1-x536.google.com with SMTP id f193so7865538pgc.0 for ; Sat, 08 Oct 2022 20:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=FKLP/xTZdNSzkXHFoKdqyX+wjq2x9/rZGx8s8Q738PM=; b=nu0bLC8PUoko8rpQoKJK2R59CVODAProh8JoPXe4Wo/k8kIWuCdi+wNPoHGulzYRI+ XtQ71QxphaiC86j+Zb8sC9XDCtW/I0Jx8VzO7RnB12e7JsMOLQGX4B/aMpbvHwIUXTWg agooHX33tlfETCj4yhTzQ/uab0iRHJH6nkg15bOoeBe02G15xv6ztdneVeNRT3KU07Di 7Cs5j4rR7lsHL1AD3pCOH13mcr2xXuHjXUPuC4fh21U8tL1FX2Nurb6ElnsBnjXBfS5W ToDwdPPzFRfR7D3buHj6YBdbk6bv5r6QiNSfAqt+tm/B6f/FgbQu6AfsvnV3sCNPA1De r1lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FKLP/xTZdNSzkXHFoKdqyX+wjq2x9/rZGx8s8Q738PM=; b=JHsYoo3fgl5dnKgLKBT/EXojtoB2+D8zX0gLUYN2v/WikJWN8lDb8YpDikeTUI4M89 HNyKHDC9N0trXe6qSlvAPBJblKHspwupH2lZFkXTatZ3OArUSQhEIUyIQvcqxi71a4dW 5hH3fIjnYAuSfhgMWQfgi9HEzjs9MyC8WxGr0n+zEWyjDFTr0YcGct3GZMzyC+rMZM26 7oHgOpj+FE9r8NeqgO4Yy67Dp8if+MFbHqzsiEDRIX22ymxNrRED6wV0rrrekADU8BkO vRh77CV/wRVvr5pjBYsMXZwbLURzfO6lD2Tixs92OJT8q36MQQcnP6rLgY38iSx/Jys5 vV1w== X-Gm-Message-State: ACrzQf2n2Ug0rfHPQo/v75YZnVYi8mPmLAQyY4KDgNz/nZDwUb3w9Mmr +oZYMp3qK2F3lDxMeTYuJSbwlD86wG+8WbJu X-Google-Smtp-Source: AMsMyM7RTRFFJGbGoTV8TRM8xmTrcyE/ZQq52dKVytpCMofrb8GLHV5t9siqVXh1LwJgBAoc7UX4zA== X-Received: by 2002:a65:6c08:0:b0:448:c216:fe9 with SMTP id y8-20020a656c08000000b00448c2160fe9mr10933080pgu.243.1665287365403; Sat, 08 Oct 2022 20:49:25 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id l10-20020a17090aec0a00b0020aedddd3cesm3723542pjy.5.2022.10.08.20.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Oct 2022 20:49:24 -0700 (PDT) From: Ihor Radchenko To: Matias Eyzaguirre Cc: emacs-orgmode@gnu.org Subject: Re: Markdown export is non-deterministic? In-Reply-To: <8B2BE812-0A06-4562-9D3F-0515EE4036D1@fortlogic.net> References: <8B2BE812-0A06-4562-9D3F-0515EE4036D1@fortlogic.net> Date: Sun, 09 Oct 2022 11:50:16 +0800 Message-ID: <874jwdfyfb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=yantar92@gmail.com; helo=mail-pg1-x536.google.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665287453; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FKLP/xTZdNSzkXHFoKdqyX+wjq2x9/rZGx8s8Q738PM=; b=GboM71Jnx3Hhtk1yRjMQfrXWLk4CC7lR5rScWi8ph4aSYKmRNiLXFgroxZXerv1OCZHgU6 kPRWZDGuTDaL58S/k/YNlx5HXVrsV449pN0xWgVdZ/kni5Mr9/dWzcAADwqk+oGq2LBbF8 BTBOYTrMVcC/7TGtCIazK9fJYPgjso9O4+ZPNri2cadbkjaSUMVq+NAmLQiIQPuIO3nHCs GTeyOfYITKIZB3L6C0DyJ+kb5dd/9j9p0ftAjjaFmOrOOCPIjR1+IaETWq6FC122Rt893z SgOQKU+BjC1OlOeonvGrNcfIJDrks9sxIxwYN043XjD62/O+/K05ZkEqsErq/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665287453; a=rsa-sha256; cv=none; b=VGyR7tYEopmKZu0J06sP/HtldUxLgzG4qECXnmYbAQujZHPWM8MTrlxpn97TiBD1gBtwOc 6kwMbiG0YNew3AmBatdRBQ8KkqVF4a54Dc/8gd0QwNXZ4rs+5Gl+6cHr1POIVEYw1BB8gb CGTcuZrUs7mUphI9MucXZ9aVaWALTeVmF56ZIu02zLXAShWIOKw4EWPmCoSwrqP7761sSv euRv3WSsxYGRMVJYR5Rg6C11x0da2e8aZry5ZSENKOmwoH0+aYrEJGN4n21ke+7rnRKj4/ wHQHTdcqMkhMpbmcObNBAcbY4w36J7tCy5u3G2t9hmEqCXMUqR0E2J/2GvbjnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nu0bLC8P; dmarc=pass (policy=none) header.from=gmail.com; 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: -0.89 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nu0bLC8P; dmarc=pass (policy=none) header.from=gmail.com; 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: 4A818F583 X-Spam-Score: -0.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: rTDU0A8HQWnf Matias Eyzaguirre writes: > I=E2=80=99m using org-mode to generate a markdown README for a project th= at is > under version control. I=E2=80=99ve noticed that the anchor tags used for= the > table of contents seem to be annoyingly random and change from export > to export. Is it possible to make the generated ids deterministic? In addition to the detailed explanation by Max, you can use ox-publish. Publishing will preserve the ids as much as possible. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at