From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31149 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?SmnFmcOtIFdvbGtlcg==?= Newsgroups: gmane.text.pandoc Subject: Re: Filter for automatic md > HTML block level element ID creation? Date: Sat, 30 Jul 2022 14:10:25 +0200 Message-ID: References: <982ef1cb-79ef-8d82-f215-90b725e51613@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12856"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCP5LNUQRMBRBM57SSLQMGQEZCVJGTQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jul 30 14:10:31 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f186.google.com ([209.85.208.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oHlId-0003EG-L7 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 30 Jul 2022 14:10:31 +0200 Original-Received: by mail-lj1-f186.google.com with SMTP id g3-20020a2e9cc3000000b00253cc2b5ab5sf1619986ljj.19 for ; Sat, 30 Jul 2022 05:10:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659183031; cv=pass; d=google.com; s=arc-20160816; b=am4GDyUPw5Ct5n+lVC8nAF/FLHSGm4lM8KeLYPvBNhdtnIPm6+K86OX1FDxKt7kWvA mzyjOTWAGyeUouqWpMb13/X0y2QH40W0OtSRu+UAuxAN/ohVpnA3oaEHRWwYrAwYgn+3 YzfbIa8iO8+Loc8rDC7/1+BwnrhpYJEvlOVEsT9uYgUiLnzNN0znrEk02xFnW2eQ2cFK AzgQhItPH/eMmFomPNajl/7PDmW9IjxjSKBsOhwWgfQJjF03ApZNj4DFi4Vi7StqlrFG apGMVdjoTe81S2nu6UU7kqxOnhOWe8rLVtrLGURG2Cio0UhovoStpsaAuAwIEJ93zFQZ 4fLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:sender:dkim-signature:dkim-signature; bh=H91Vb4aFb25SbECIdHSiUTX9HzPEYtOqVSwG6BVjurw=; b=pMJP/QTwXu7wqpANpMNWYKssAT8JJM5oA3/YWSITGyFCMfrHml6tr61kCi9fbubhR4 +1ZG/fmgKKVTKZl1KiZfIks3fsGjlVoluGTPIZ+qsVGcYLunXOKzOUsEtFtXjdt/reOW 1iXA7LZoR7pvY3ONULYQTkrfVd0fqM/waEe4uFnLdXFyL7ZUqC16iztNjtFO04f+rP9A CRhty6xwCR9noETe84rti9h71C6Bw3a/HGwf6A4mPzKjogLiGv6Qg1PQsiTcvyAJLaGA XqV/P70m419PEtfNX1bJlyZSU9qNTp6yoV8IFMOqMiehies3iv9RWRVFa2/uT3IPU6ca KT4g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mVLOGIel; spf=pass (google.com: domain of woljiri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=woljiri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=H91Vb4aFb25SbECIdHSiUTX9HzPEYtOqVSwG6BVjurw=; b=XDzmOLegO5/vXsfBf2UzPTsloJOzGyVBaFSOk3hS2RhyL8PQli0Th6BLb5CWaDZSCN dg+lIG+FcUejQIs6huz1WdGAGm40yMM0qG06CcMat2u0aYjG3Xc6PZuI+X64ywTMyvbG NCHMDQQsLWQRW6BhxpkVX7dGp7qYgUex1QOcH6x7d4dVZQ8+7X4+/w/3LcrqIwoRFVMx hIY5Xo3GMGz24VVMDx2BNsIIhqoboQZJ6CtgQkkpuDyO5jVKCMKFrgQdcRxjYHputgRY cBPbrz2dLXXDAV1BdYUWJGJSaXW/ZivEBcimVMMTj0hGr/RGhE9XQa1QILLW05Pw2XWq DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=H91Vb4aFb25SbECIdHSiUTX9HzPEYtOqVSwG6BVjurw=; b=VgFRfk2oTJyf4Uu7dsGWzO7ig/zjMb2qNwfjuH2hLSPYc1DQIhg887EwkJTYxmV2HT 8eSKJNbU0xVtoN6wX/0/30ptzn0MtivwDQ2SfKczRWc6SIiA3CbkfFPHzhwj0j6OmW2c tBpH5aubDl66rCBom6Iu71jiK4INljxBNrLLUYaESq3g4ueMgWR9Uuih6Vy7YmZJLZox zO8Ug82frQ4mzhAJYKyRi6NpyRX05h0aAHsF1eoGJaET7EIJivRLD/lQ2t3/KgW7GVqv bSB5Dz+Ra+zIYKGuLe4bvkBAcG1Ly/ICZ2Nap0KRnASpooc2Y648UVJEm1pgHpO2p8oY Jj9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:sender:from:to:cc; bh=H91Vb4aFb25SbECIdHSiUTX9HzPEYtOqVSwG6BVjurw=; b=kBzsha6myaSOC3iJ8dZUXfVbyqdw3ZGKMZQbGE99cozy3CIcI4mQzqt0FYkGJyPA2w RguU+BYPeDDyKiLQnJG5+U/M6A+2CvI1o/wUiemQdDHxgbHDTDo5psAeCF74ZlI8szJB 6SLQP/wNjTFFsDq2LlF47iG24sNWd5W8QPouSoO0v/ez5NhXDv1JGVff2E7z228GaCw0 z/hv/NTC//F/4fhi4JGeSkR2E6uFGT76U5G691wzFYahKJz0k8Lxm1LvB/8PqYd16m6E QW+5pjA1XcnbA0kHwyQB/HYMr Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8iieGp3J+Ll+uBtOn9e1itj24Wq3mE3uQ6JNXo4OvuRdFbWam9 onBn3NMFRemdNOzRsamu7mI= X-Google-Smtp-Source: AGRyM1sQH8rfBeBrJZwkgHvZp8zgJGiciUlRo9714Tpx0Ic8EonwfE9z522Wg4NpHa2NebPhsdnDWg== X-Received: by 2002:a05:6512:1319:b0:482:b8ce:a278 with SMTP id x25-20020a056512131900b00482b8cea278mr2771087lfu.8.1659183030976; Sat, 30 Jul 2022 05:10:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3445:b0:48a:9720:5d28 with SMTP id j5-20020a056512344500b0048a97205d28ls1954008lfr.1.-pod-prod-gmail; Sat, 30 Jul 2022 05:10:26 -0700 (PDT) X-Received: by 2002:a19:3814:0:b0:48a:efca:2f28 with SMTP id f20-20020a193814000000b0048aefca2f28mr181847lfa.254.1659183026438; Sat, 30 Jul 2022 05:10:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659183026; cv=none; d=google.com; s=arc-20160816; b=iPfuSXIrj0mQIY1jGa5uWsFlF1lXyqLsyGzH+4Lc7lgBti7o8mzIUrKpSbMdcfF7na sYl3BOKzkn7PBFWodZdGSAkY697ST/TMxL3DSDbH6xEtNkrC7wC3rl/tIwA9xNU8LVEM ure+X9fxm58ELKNjCO8qbaJvHjh5RIJveCx9sPRXAYwgXn1Wfz0dgaIX8eP3y4R3OEZy erhFKS3DgQXNpsqlXX9pzEzxCnx/qde2ROs4Oeh9tYTI6/1S143lLbl4x4WFt7uenmxc lbuk7PaFYgP3VWtJ3BjZiNoBTYPuTkuTqO7fGdd5qPO+18Tq0OAvfUQOocBt7ufCOOT2 o8Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=IYXKxsJ174/+Wp9XwGQNNX7xM2pWsJCPq0pxXoTkREw=; b=KafBL5v16zOBUvMsR9JHqXHei1gdwgvGCZaeSuqHHyoeyJ/p537N+1Wmv3gGMKB7yc rrHQwo+VDglthELc4/+y+3fSCiQTLPIqrEoPfoAJwcDtG12de+oGAqfOpm9HZsBppB1p 4aYNNN9ij81uMEMRiDdxxpKy04uQMbaF3JWmmDhJmj1wChUYURUVnTaOHZypf56y+IZo CDQ2PxYi0T95A8M6neI3d/OBGVmsWWxCpFu4G5r8pzny+SzBGJWrvyByiIhw6bprzxMz CUEE+ykFC+tA/b3iap74VkkyFoweha7wvGxDGu+ShejKPIQ5cwmAs0oAuLu4Og8BpIsh 5Lqg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mVLOGIel; spf=pass (google.com: domain of woljiri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=woljiri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com. [2a00:1450:4864:20::436]) by gmr-mx.google.com with ESMTPS id v5-20020a056512348500b0048af0475098si10975lfr.10.2022.07.30.05.10.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Jul 2022 05:10:26 -0700 (PDT) Received-SPF: pass (google.com: domain of woljiri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) client-ip=2a00:1450:4864:20::436; Original-Received: by mail-wr1-x436.google.com with SMTP id l4so8735848wrm.13 for ; Sat, 30 Jul 2022 05:10:26 -0700 (PDT) X-Received: by 2002:adf:fbc4:0:b0:21e:bd8d:be09 with SMTP id d4-20020adffbc4000000b0021ebd8dbe09mr5009458wrs.216.1659183025929; Sat, 30 Jul 2022 05:10:25 -0700 (PDT) Original-Received: from [192.168.0.14] ([185.137.144.10]) by smtp.gmail.com with ESMTPSA id d20-20020a05600c4c1400b003a050a391e8sm7514863wmp.38.2022.07.30.05.10.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Jul 2022 05:10:25 -0700 (PDT) Content-Language: en-US In-Reply-To: X-Original-Sender: woljiri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mVLOGIel; spf=pass (google.com: domain of woljiri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=woljiri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31149 Archived-At: > Regarding content changes > changing IDs > broken links: Not a problem > (here), as changes would indicate that the target is new/different, so > that=E2=80=99s a feature, not a bug. ;) >=20 >> Can I write it in Haskell, or it must be Lua? >=20 > Would that require installing Haskell on macOS? As far as I=E2=80=99m con= cerned, > the less dependencies, the better=E2=80=A6 Yes, it would. So, I'll try to learn writing filters in Lua. Haskell's=20 pattern matching is an useful feature when writing filters. > In general, it would be great to have every block element carrying conten= t > (paragraph, list item, table row=E2=80=A6) to have an ID. Okay. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/f924d475-0b4a-d118-c336-c9be37ba144e%40gmail.com.