From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32325 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Pablo_Rodr=c3=adguez?= Newsgroups: gmane.text.pandoc Subject: help filtering links Date: Sun, 12 Mar 2023 19:07:04 +0100 Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24128"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCD6NVO5UINBBTVJXCQAMGQEZAPSOWY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Mar 12 19:07:16 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f60.google.com ([209.85.167.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pbQ6E-0005zO-JE for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 12 Mar 2023 19:07:14 +0100 Original-Received: by mail-lf1-f60.google.com with SMTP id i6-20020a0565123e0600b004e83fc5e91dsf554282lfv.7 for ; Sun, 12 Mar 2023 11:07:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1678644434; cv=pass; d=google.com; s=arc-20160816; b=jXDycbWVcZSBdmBAicNsf95PF+u6/rfNxDG9kJK1z9Mv5293AX/RgNF3tf7zau4qYY Z3Vk3I5IlzaPmGdX5Wg5t6vDTxV981pndZNI4XkKc2YTQ7svkbj1CZ4KijnBRIwEJLLs yOqc4sInPVM/sc4pFM36D55LF69VWT9/LJPfq+RIOofM9aBImZLwigzEEnuoxiWnSIfh EYNfHJFYa/U2ZZHnhwMVPE5Fku6CRtwMo6qw1G2ejOyc+86ih8R4gX+NkkBAXgJYBepw AYDiWgN8h3BzU1+2Dy+/h4C4sYpF2SC2cR5wz6Awm0EKyMJiWpJdOgYC+AluFVkNmgfF O/2A== 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:ui-outboundreport :content-transfer-encoding:to:subject:from:content-language :user-agent:mime-version:date:message-id:sender:dkim-signature; bh=mPAbRTTyi4ugxcu1BYJwI/icz1NpWgl03BgeBNVcadk=; b=swxlaNMoCzILBiBN+SGix4mgtmra+YwFh/GX0BZ2aeWlfabpwoZFZ6qOmxxB1JqJu7 s3dk2GO/fOFRxdG7y5sLDRZaqwq7Gu2HIj/Miwy+IZj/urvQd5nwi1eUtQnbbRS0Qh0d zBWyFlR1OCbeh5dM8A+YTVm/W2WoPcZDunXxoSVKT7gzgv7M3i4yzzjsG7Tlo9+rJZk1 J/FBXLvExUuvOozdjaIn2b8vKQE4tLskXxDr1YqJMlNwQDhZ9Jgg+obFrSkPrF9isDtW tfqsaUI6o1QSpo6rLM4LUtf4JiqsVPi1ncwFbPW84dxEK+BDfwLFLR2s8aGk2MLI6QFv eZ+A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=kgkicFaX; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.14 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1678644434; 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 :ui-outboundreport:content-transfer-encoding:to:subject:from :content-language:user-agent:mime-version:date:message-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=mPAbRTTyi4ugxcu1BYJwI/icz1NpWgl03BgeBNVcadk=; b=RwB5ifNc/gJN/YnNytmXHQKc1OhWvf+jyIDeOX2BYlwRk8pwLf9JmFA8+bDkR4s1EN NEq2KnGm98GNxrYQ2bT7mPFnQkSkH62T/mnNpXtqPsO7CvLRy/qpLDLgWg6cCr4mNog9 djTiQeJAl/XhBgXgX4A6vinUupBXMLfa+0Rpiwxc09IQkrrG99TPaAifYI/Skouicsks 88Cp6MupBRn0IIgxq53jh+SYFxKEIekyRGnndA9B11bhlq7HKty2CiSQhfJvUiBi7ihp Dr+R5OPtcKdTCb0VYtcG/J04vz2d X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678644434; 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 :ui-outboundreport:content-transfer-encoding:to:subject:from :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=mPAbRTTyi4ugxcu1BYJwI/icz1NpWgl03BgeBNVcadk=; b=C8FNknEtPrF24lw6VBUCm0IcHtpu9IqhF11HGe6lmt4L5fCDJRJTB/BpbSctD4F+fp UWSqaPBexFLdaXRVApIkRmnNjKgASXXnWclRAkg19FDvqWuLdxWLhfLDBR2KN4LSZPEH J3gyvgkJTrp4WYr9dLZQlHfq9bcvtpitTuHPTX4lZ5yWyLUL9kVtdr9m0sGv5G5095kk onAcrwUVghoiCdyW54BJA+rc3LNwN3bnKlQEDhwpSptd/SU7xQL Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKVTVt/uR622oLQ5pdcX6ICB2OkZjuF7K1OWlKDi1Mfx+VBjIWfb Kx5+K+QWpXUe8fwVudeww5k= X-Google-Smtp-Source: AK7set86wP/bqiim8LxlXJVwlCpyCSPreYdArzyIC0jy/sZ3daKGtH48KFL3ZoldkzQb60W45gXVdg== X-Received: by 2002:ac2:539c:0:b0:4d5:ca42:e43b with SMTP id g28-20020ac2539c000000b004d5ca42e43bmr10065584lfh.4.1678644433997; Sun, 12 Mar 2023 11:07:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:651c:2313:b0:295:e6f:9742 with SMTP id bi19-20020a05651c231300b002950e6f9742ls1553384ljb.0.-pod-prod-gmail; Sun, 12 Mar 2023 11:07:08 -0700 (PDT) X-Received: by 2002:a05:651c:11c6:b0:293:591d:d859 with SMTP id z6-20020a05651c11c600b00293591dd859mr8886042ljo.17.1678644428878; Sun, 12 Mar 2023 11:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678644428; cv=none; d=google.com; s=arc-20160816; b=Psk0KAO7294IQu7nDsoNJ8rlFASFme5xA2u0sGMT3yIPOM0XNPDpBUBzKzvbPE5lS0 KkKG8XlzFKuWPHca+wZ/xYV1jPkABECUohfww3/ffD3u+QzSrPrEjJPLrx+Yq5ZeY/S6 y4i+Uw8OBU+dGKo3laDZ/rH4nEJv+re/tr9E29NQoaOYkEiYXMxOV20cvuo3yiW8/EVG l5bdwwH/hpAspKedrqmHyRKb3q+Z0NVBHMrrRtLTSAuhDLY0o5S787FWCOZTQRDTvpLn z9Q8kamoZaNieaHsdH4DEkSsn0ZH7XjqXOqP9gxhZ/kEQbzHI/ay7uHJ6pshpFyfcuhi DIpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:to:subject:from :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=yq3AJhs/BbCtLj1lI7/2OLxA+Vgxj+ORGe+NQgcKwq0=; b=TEK0WM+IBgHcEHysqel5ctbrTn15wUGHXX5M6+B9VFNE31KrMYTFAaLJy+K/3saYyS G3i/gUeIzL2jCjUknf/bJV/jp4UFEy8tclYIN5DvQPNLMFP3+RTr7uUowqYe3QmLKbdc sV9dhZaPU9jqp8RCnmDj1XMtvUvQfKL8DkPN8gP10KxE+gFHa1DNGD2OImZFH3F9lLrx zA07HynAIfE1sxgbwfDTfOyrLZii5wUzjBFVTxcKnSofutXAgNEy27bsunc0NwNKAOa7 nVxUBvsn/TVXu5oyg9iTl6daUYoZMZbnn3+nxyJayE3FeeTAJKCQZ1GTI1FWoHWNC6iF H0pw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=kgkicFaX; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.14 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Original-Received: from mout.web.de (mout.web.de. [212.227.15.14]) by gmr-mx.google.com with ESMTPS id l7-20020a2ea807000000b00295a255ee26si270903ljq.6.2023.03.12.11.07.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 11:07:08 -0700 (PDT) Received-SPF: pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.14 as permitted sender) client-ip=212.227.15.14; X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from [192.168.1.101] ([90.167.94.19]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MA4fW-1phVyg080A-00Bu7Y for ; Sun, 12 Mar 2023 19:07:08 +0100 Content-Language: en-US X-Provags-ID: V03:K1:IWIy51UkoEIBd3M/nEyDBK0t7lQ1+Tth9Sy0HE6IhlxfxT76X9s DDdXaMy+bMoxDS6Wy6I5yAOoY0An7VNIj3xFPJhqFjmed0q8M0HprTP3X4NPQw7U8Xzf0t0 WNQZhxORP3taY8u9Ntuz9X2/AfvMXo5NtcVKQybASyd/Lf0ovVnUAasIgQVfQqjOKCc6oQP 7DmoGb+JylaferiAMdDuw== UI-OutboundReport: notjunk:1;M01:P0:rud0fpLJKXA=;h4beAxjS4/Zh4j/je8kO7p7z1vB ihJd4g8z4d/j0wRfPcqMVGDfmw99spkYLwVeH6MRgdj8WOSXm2kRkWLSkj1MxXw6E4k29U3O7 sGYwp8k8MfV+Rt3CrbU6jo/Ei7JuTRw8Y0MGiCzWZlXwBXZDrvD8VOkcfk+URyajwwkw8dyWb 87HR2U8Fw6FAX2sCaMbPZX8z7fBTfAe4ZbsKvmGNOr53X0sgAFv96MoPC2wgNjKMpmY6LMmbA aimYNb7zMpFlz7moyKXXuu84KMwPf7sAxxxrNVlLdv2MmLry4b4VX2lvtGvI5QFAB39g8JNjM EUnx43JeFZ2bAbKLw7JKc5dCmqUAuNzGHfjYNl8u5Rpzqn1OQsMzNYrLJAGceURFony8ym+NI 1a8wMZhXNggP6TWhGA/8wBPQQU2JnEwjJhsvmUw5skDGfBuBjvkCpW3a06mJlg8miQ7Blht4P h3Myr/op7jnAfksBo4YXM2xl8hJqhNyouuJNWy3Oj30DLZ4fZtn6/mGl7C7ZfTRryjDqEN7R9 FTgtci6H3GYHwWyjWcfjex7O/c5+Iwv6rhrdJbWX2VjTT5OrOf67/uXmaXuH/8aongZlu0TYa DRQ0wHOmvgPgUM5pWhyDubBuW86bfXxq5gltLNCmzg9RLRa8GeAsRca/VHRRLSuTjlefRZHow TcUT3dB8DwoMgldSRwXjhsmS+YQ2WB7iVS/kdc+8cMlbJMtL4OsuBIFmvs/zzrY/BGUTwcfyL 1W+rjpNzajXal2pp41zsAvBUypXVaPO+ScFotLUm8kqx2ZQ2ikFou3ygMX+cIc+TEZQhYiFV X-Original-Sender: oinos-S0/GAf8tV78@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=kgkicFaX; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.14 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de 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:32325 Archived-At: Dear list, I want to start to move from Markdown to CommonMark (extended for pandoc). I would like to be able to format three types of links, such as in: ``` # intro as said in [intro] [this is another link](https://another.link) ``` The first one would be an internal section link, the second one would be an autogenerated link. I think that a Lua filter could help to add a "section-link" class to the first kind of link and an "auto-link" class to the second kind of link. I=E2=80=99m afraid I have checked https://github.com/orgs/pandoc-ext/repositories (and even https://github.com/pandoc/lua-filters), but having no real coding experience, I don=E2=80=98t know how to write what I think it might be a relatively simple filter. Could anyone be so kind to help? Many thanks in advance, Pablo --=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/b5007e61-547d-7661-530b-a3ef6ef19b20%40web.de.