From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31906 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "balaj...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Pointers on modifying Plain objects(?) Date: Thu, 22 Dec 2022 00:53:40 -0800 (PST) Message-ID: <8af6876b-72cc-448e-9f5e-7d12ccdf2ad8n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3678_1303957101.1671699220843" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15652"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDV6VCFWSEDRBFVWSCOQMGQE6ZZ4SDQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 22 09:53:47 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f59.google.com ([209.85.160.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p8HKj-0003vp-OI for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 22 Dec 2022 09:53:45 +0100 Original-Received: by mail-oa1-f59.google.com with SMTP id 586e51a60fabf-14bb44ca7d1sf776813fac.14 for ; Thu, 22 Dec 2022 00:53:45 -0800 (PST) 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-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=sbg//+YKptXMOxqglMizPJghFiI0Yr9s7R7dN4Y7F/8=; b=UGpKh6Cru0hsgpvMAaM9mWTN4fCAdUbdP7/lfznEXl7aT9+xWL8hl9N2oegPsTrBGH 8iY7/9ict1MPstL+VbmxskQ7OSNS4nwAd7iiBodpUtHWMP8SKhlvNouNy264Z2OwTVui Zvya5GObMsdqbtAWNjGFPwwxO7MwE9SCjUunNk4MfgPz7W5MNmXhpxgQeewBYS5tncvz PouNP2g8bsSQjkms2APvtIQOOh1244hofH99xaB0KNJYqCd42IR/Dcje2WmHFnBEhJl1 CPUMurfSOBahQR8o5HGndvlhmEroslIufjlDuV18bI+9/CbB1ScvOayyl+nZx1VbQ7mj kWxA== 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-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=sbg//+YKptXMOxqglMizPJghFiI0Yr9s7R7dN4Y7F/8=; b=UwzF1Uo2ppfBmxpyFuPliEQiAKx/z30M8Oo0v01fFlPC4vxgOoayt19A7R3KdM4p8+ XQ29i9DeD+isZk1/q4QL1nzK91+ktqya9AbQ4EH0wgAapiPhqqvQ0umNSPFpcgUo+7cz 3tn2a2iyrsZNPr8M3MYeXnubS6N/M+LUYtzg9TKZ11P2AEV392H6HPzh6KmmHOmWZnnt rLgtyvttb/p8yKOl38198iSFM2nrh8dDcvMvgOZ6zo1fpU9MdPJopIQd2vsZueqbVWhT 7FPGnLZpZvTr0H+4jk/8kDhgZ1dz1JzxGr3s2904B3g0q/2lgM1xeVwxoGC9kWsiiVfz WIUw== 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-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=sbg//+YKptXMOxqglMizPJghFiI0Yr9s7R7dN4Y7F/8=; b=14yGY9YbfFNaKFoyRALZ8fOj9lul6mTYjE46Ssd4c0zanjAfdA8HWaERAH0zWNKFEA tqXx2UWOAoTGIkrMVAY6ZwAT8//CtjiehyR/ETp0pv9qjeperBh5mlZzNno67TFJXNFa Q3zJC6vIfBl4in9lt2wNjU4UfcA2y0Ij8/AOV1HOKpgIfa7pL5J1Al/a0P1vAeFFI6fb q1yeaVDB4n/3ZKlffKoR0k+anCz8eITSyDxOxRpL3RhGv2U/5fHA9HBWWm7ugZnnt/Qw yxK9TGq611o/1ftNXrgXGB181k9DQtl8dH9ShxGsYUKr4fnK95xfNUm1VhWSFm7qeCXu OqTg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2kqJwsRTzdxC241bYn4u2Bqh4fwBjrv2QEdWwqaZCj3fSpMCRYJ4 xKS35Co8ha64vxhzJ9neCi8= X-Google-Smtp-Source: AMrXdXtDdAj7qrPVN4k/y8PhjUh/of2dc1XbH52tmS8zbfE+5rDpwqiSN6uwYUPhIAZOgJyjWojzZQ== X-Received: by 2002:a05:6870:2a44:b0:143:8ae8:b284 with SMTP id jd4-20020a0568702a4400b001438ae8b284mr253362oab.228.1671699224575; Thu, 22 Dec 2022 00:53:44 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:3b84:0:b0:35a:8a2b:e9f1 with SMTP id i126-20020aca3b84000000b0035a8a2be9f1ls351949oia.8.-pod-prod-gmail; Thu, 22 Dec 2022 00:53:41 -0800 (PST) X-Received: by 2002:a05:6808:1387:b0:35b:75b:f3b9 with SMTP id c7-20020a056808138700b0035b075bf3b9mr272881oiw.98.1671699221481; Thu, 22 Dec 2022 00:53:41 -0800 (PST) X-Original-Sender: balaji.dutt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:31906 Archived-At: ------=_Part_3678_1303957101.1671699220843 Content-Type: multipart/alternative; boundary="----=_Part_3679_300845389.1671699220843" ------=_Part_3679_300845389.1671699220843 Content-Type: text/plain; charset="UTF-8" Hello, After many fruitless attempts via Google Search, GitHub Search and indeed this mailing list search, I was wondering if someone could point me to some examples of how to modify "Plain" elements? Unfortunately I cannot even seem to figure out how one loops through this so it feels like I'm just stumbling in the dark. The specific scenario I'm looking at is a Markdown file such as this: ### Todo - [ ] Foo - [X] Quux Qux The native representation of the Bullet List item with a "[X]" appears to be: [ Plain [ Str "[X]" , Space , Str "Quux" , Space , Str "Qux" ] ] I would like to apply a strikethrough to lines where the "[X}" character is present which leads me to the problem of trying to manipulate a "Plain" object. -- 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 email 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/8af6876b-72cc-448e-9f5e-7d12ccdf2ad8n%40googlegroups.com. ------=_Part_3679_300845389.1671699220843 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello,

After many fruitless attempts via Google Search, = GitHub Search and indeed this mailing list search, I was wondering if someo= ne could point me to some examples of how to modify "Plain" elements? Unfor= tunately I cannot even seem to figure out how one loops through this so it = feels like I'm just stumbling in the dark.

The sp= ecific scenario I'm looking at is a Markdown file such as this:
<= br>
### Todo
- [ ] Foo=
- [X] Quux Qux


T= he native representation of the Bullet List item with a "[X]" appears to be= :

[ Plain
 =         [ Str "[X]" , Space , Str "Quux" , Space , Str= "Qux" ]
      ]


I would like to apply a strikethrough to line= s where the "[X}" character is present which leads me to the problem of try= ing to manipulate a "Plain" object.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/8af6876b-72cc-448e-9f5e-7d12ccdf2ad8n%40googlegroups.= com.
------=_Part_3679_300845389.1671699220843-- ------=_Part_3678_1303957101.1671699220843--