From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31662 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gianluca Carbone Newsgroups: gmane.text.pandoc Subject: Substitute a string between custom delimiter in markdown file Date: Thu, 27 Oct 2022 07:06:03 -0700 (PDT) Message-ID: <138750e5-0ff6-4854-bc5a-26b32b085dd3n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4184_1393596988.1666879563306" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1337"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDYLVBUDZEBBBTFA5KNAMGQEJGXQV5A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 27 16:06:07 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oo3WJ-000063-Ko for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 27 Oct 2022 16:06:07 +0200 Original-Received: by mail-oo1-f57.google.com with SMTP id f26-20020a4a9d5a000000b0044e0692f7d0sf620368ook.19 for ; Thu, 27 Oct 2022 07:06:07 -0700 (PDT) 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=/9PM+JpPMG5RmbR7LW+cxfZ7Mw80vO/GViX7iHqkn8Q=; b=iKV3XXVSQ3LjalPowknjQlKLfCouX37XvadRoOyoD5FTu+oUtjIlsKxgqvE3RQZ8TT ZMamRx3yRhgjrxqJySq7QMj1/9aA2vovmqO+13kqu0r6DPHeGP+I3g0CUsMub4c+0meF o6zg5ndi6q52K0X+SPP7Vnp9+KUW6xQ1X08C0kWRBE8Mr82FgC8iWSNabSAG+ZZLdUhE 43Czp4PWVB5t7vS09RuK+7GWMjxlNoudwNCQ83mL/2q2+2jvLbyVJJRNZbXF/U0UUlut Gb2Ad2eAQUIpL1ykUHdm++5i+3SEk4uu8yDNhs6PhlFKiE42iRsgIY6R+j7Izi71t1zE MiMw== 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=/9PM+JpPMG5RmbR7LW+cxfZ7Mw80vO/GViX7iHqkn8Q=; b=oF63AxDTHgrrLEA0CBY6oiDpdsjU4ngMtZQO9KWHAHPuQ8HaR9r3DN0V6gDmO1RVCo 0PwvxsXrlX/0sK6/nkvQ8RhBIEg4t1JMWpkIkY9Wsm4E9z8FDds1HTXXpOAQ+NHGAtxJ rmZ53W6LNZOHv8NZeKOeGp6OKEk+7fzydEYqA92VUbjd3obaJ6auS8CzGVLmczf/+neU yns0/BWIuEtV5knmX4ltmpP6o7u8cvfAmfT6ShIu1EJJ70dhhr1vrK1SbpJ+P8RPiIoU 6QlIe/nKD1QJwzVCQYx9FXK41K73oDKf1WU5rpcy3J+MAry0vv7mceSiJr+VcdBdlwKC Uy9g== 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=/9PM+JpPMG5RmbR7LW+cxfZ7Mw80vO/GViX7iHqkn8Q=; b=RqJAkGZXGIMVLNw7ExizlHmaxK0HNKjJR+L5D8cJPXfHQRs+ECkPssn0FBXBgY0Aa2 d3FwSuH2RJKHgKu5NY/W148fv1TfiILiSOO1NDagREv479topd41u4o+NmaaTPETDbdK uTCRVy/uW3fzu6ZTxgtQjLedZ7emsSLrVMFnAB8TrI0wSwcXllnee0nWl08slXdbp+J7 9DENhptittJJvqDdcrfzDQnkS70EiwbDCw3dSM+Y1nDN0xfa0UcpJ8tjlfBIvz9cNatv OsBWdzY5OC+Rv48wglySiIJCnG026RdTWzwNhhO8DtYlVxjZ0gzo+YFYWC/ORmZyvGAL QaPg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf2nd0lZNWGF5ZhxjFwyYxb2cd0uCZ6aExKJjKrXdHzqzNLTEZ73 w1sTJFAtfCq29OR6vDGkLRI= X-Google-Smtp-Source: AMsMyM629roBfVPeutWFArh1a4p1Uu4T1JMldhpqS0UXhgGSbm6Jwnbrt+6u50CEThxvX1JWhEjOSg== X-Received: by 2002:a05:6870:e888:b0:13a:e32d:798c with SMTP id q8-20020a056870e88800b0013ae32d798cmr5611302oan.227.1666879566527; Thu, 27 Oct 2022 07:06:06 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:cc:b0:659:684:4122 with SMTP id x12-20020a05683000cc00b0065906844122ls3463361oto.2.-pod-prod-gmail; Thu, 27 Oct 2022 07:06:04 -0700 (PDT) X-Received: by 2002:a05:6830:d0b:b0:661:9435:5e30 with SMTP id bu11-20020a0568300d0b00b0066194355e30mr25053695otb.276.1666879563909; Thu, 27 Oct 2022 07:06:03 -0700 (PDT) X-Original-Sender: gianlucarbone96-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:31662 Archived-At: ------=_Part_4184_1393596988.1666879563306 Content-Type: multipart/alternative; boundary="----=_Part_4185_544468684.1666879563306" ------=_Part_4185_544468684.1666879563306 Content-Type: text/plain; charset="UTF-8" Hello guys, I try to process a markdown file where I put some custom delimiter like: [name] Gianluca [\name] [address] Via anon [\address] What I want to do is write some custom writer or a filter in pandoc that can substitute the content of that delimiter with "xxxxxxx", in order to hide personal information. How can I write some line of code that return me a markdown document anonimized ? Thanks in advance! -- 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/138750e5-0ff6-4854-bc5a-26b32b085dd3n%40googlegroups.com. ------=_Part_4185_544468684.1666879563306 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello guys,

I try to process a markdown file where I put some custom= delimiter like:

[name] Gianluca [\name]
[address] Via anon [\add= ress]

What I want to do is write some custom writer or a filter in p= andoc that can substitute the content of that delimiter with "xxxxxxx", in = order to hide personal information.

How can I write some line of cod= e that return me a markdown document anonimized ?

Thanks in advance!=

--
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/138750e5-0ff6-4854-bc5a-26b32b085dd3n%40googlegroups.= com.
------=_Part_4185_544468684.1666879563306-- ------=_Part_4184_1393596988.1666879563306--