From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31682 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Transform a fenced div to mkdocs markdown admonition format Date: Thu, 3 Nov 2022 13:09:39 -0700 Message-ID: <7AF275BD-12EB-4424-84E5-1A45FF675520@gmail.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) 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="5801"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBCGASCNQMGQEN4CQPLQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 03 21:09:48 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f186.google.com ([209.85.128.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oqgX6-0001HB-5z for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 03 Nov 2022 21:09:48 +0100 Original-Received: by mail-yw1-f186.google.com with SMTP id 00721157ae682-36fde8f2cdcsf27706257b3.23 for ; Thu, 03 Nov 2022 13:09:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667506187; cv=pass; d=google.com; s=arc-20160816; b=bGEPnfedaavDwAeBDYDG1nc8+qs/uyulc83hx1bOJlHBrvlUMLH9g5X36odCM6H1yd cR0/kQ/oZ7+K4jC9m03VsqDlMHZmEgrkyBx4USK4T0uEXKT/cXsDUPL3iSUmpPJ/RLYF zynxc+ne473emaNys0KysRSFzuxuT+FHsuSAT4fZOJgwf15FPOGbkz+3H844kypWhuRU F8OV+L8toE13Ph6on7x1Y9bY+ue3lXTCBDiFi3HzeeQBWsSDAhDHfyvWuEYzrLhSQdm3 oa4irRYRXSzPNGmPuTXKMp5IIJcdgZ8BHMZVSQncF3Zuys+UrImM1BAXtGn1CzN+KTZi 2hPQ== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=xRZVQakRYdA3EE0DuKf/8WCf2VMKBPVcjGbyESnZD4I=; b=PSa2+JJMmC0a/wrHYkPNMT8ONKBsK/RA5bCIlmlDPVH00aZO5HqbGjJDuhAnBiO0y2 8rL6jFAChmQDkpM8Gyt2jDUSOyUE6AAOB+Sx17ybdNJ8cwdbk3Qom25PGZMohn3BllXU TpDIL9VOzlj8WvAw7jBzkbuiWCcj2qY1yLK4Dy0MLNu+UziU4NsnlyPFPKYb0sjksgwm W9bM1maZnkGJb5DqW/sayEDX+ukscjdcYLRHAumPQF8dMkwio8yW/r5TZeJI3Xyf4Db0 NgHwM2LeglaaKGZDwUkPFQKhlAnJNxTXkeQflNlZAcI4ZFDuO1mnpV7+PfxV1HaQ0KE4 fGXA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eK0gdQNJ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102a as permitted sender) smtp.mailfrom=fiddlosopher-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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=xRZVQakRYdA3EE0DuKf/8WCf2VMKBPVcjGbyESnZD4I=; b=MNVf+m7drOcgvAXhEffW3CMYu+BNeXPjpR2XLZECdrgjo5cPcc49tqTj2tFNVZE/b0 SP0LaZHGmfXttVv1DzQ2NpExNnk9swUj2NM3rhbet3w1b9Ki1beNcRAVNcqkoWxPYTf9 pvmysmSfqK4Z9GkiMnsotAriwrxIxJ2d1SOPEnMQpFGcILDnxpuT5rBnAJhc6lmzm1c4 e94qynw1X95zODuJZZVedEsfR3NDhc1cm0NGGeC05UYTLDIccxiZP5Vb9A5ch6WTgDQA Dd9Ch0WgIujW6sGu5Ydz6z7sasLgWLb3Fowg1cKxXs7at22XPcQZuLE2/tigsNxZO 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=xRZVQakRYdA3EE0DuKf/8WCf2VMKBPVcjGbyESnZD4I=; b=iWrOPau5YZYnM4EN2ratga+fOLu+EJq/TrE6ng5QliABP+9h+7G117DT54vUNE7spd yIir/sYzgRPGpolsjKZPzhhe+NAAROtSxRdW9RQgZknncKrw9dqJGEvpIhRdpISvf0+d UsjNKhLlD21ZyZ08P2sKz4wIXqLkUnV2rtkKml7lRgdampOCEjI2NITghIuxAunMXzJi KuJxe0dvhn4e0JmSzpyWSiYXJG5sQwKfuEljQJziOYZFC47I/sddjYIhla4rIZfZ+OS8 qk8jXyers0hhccnGhe/VPi2KhcVU8ayY8K1XLcXUEow0ZDhTbPqjF6gU1GGpHxWgdLqP 7 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=xRZVQakRYdA3EE0DuKf/8WCf2VMKBPVcjGbyESnZD4I=; b=Kwzm6liruSUSlDKhyKJvmhbVIXh+7XUnMpKWdEKsRu1fV2qGd1ZDHf2Es9RRDA6G+c uFZ5zCjRiefXDLg0v9YsOqFKWyTa7RpB0rrPK3VA/SYn5QkkuOTqiTML2NkKoQu3+aIn mkVEBb2pIq/euEC6ZXjdmcQkxlzyVH9+Q1+AyOOr0nkhgseOtVCtdqpWRQ/ExHv+gm2G rP52CFv2Fi38JPf2OiSEBEcuBtJRTmV69VSSg+PRQBJD/mGo3m3IlFPEk7ofq5PQAj3l 7XobijfePwXfkl3KpLbr Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf1jH/aIe0tQS2fbwg7RJ7JzhlrQdnw3vMYMu3jgICp407fmRZsS bQXxCb3l48m0L2p2xM/x3OY= X-Google-Smtp-Source: AMsMyM4tbSlTk/Wz3z8wZcP+LO+EBRBmer1msgPREKvKHbFcznm72wZr2MpAXe4GQlKc6Q6aFPdQjg== X-Received: by 2002:a81:6208:0:b0:367:f222:df0d with SMTP id w8-20020a816208000000b00367f222df0dmr32026125ywb.422.1667506187020; Thu, 03 Nov 2022 13:09:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:b09d:0:b0:6cf:e063:b0e2 with SMTP id f29-20020a25b09d000000b006cfe063b0e2ls1530966ybj.11.-pod-prod-gmail; Thu, 03 Nov 2022 13:09:43 -0700 (PDT) X-Received: by 2002:a25:256:0:b0:6d2:b01:e679 with SMTP id 83-20020a250256000000b006d20b01e679mr2909119ybc.355.1667506183908; Thu, 03 Nov 2022 13:09:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667506183; cv=none; d=google.com; s=arc-20160816; b=eFm/W8xfdKUAxSg27iNkWwtpyJ8W9sHhh5eC2dDxm+6aYWZtSm67r2apx7Nvt1UsM/ ay3dwM6OIzNsxFlobFj7NLhU5BFMZ/YhQRJF2Poqytr006ilMRGTFb/bqror8Li2RQPC hTiJG5+2cbFYy3tEylmVCfg+fEOS/wgO0QrATOcN22b3qB3qE3NQhI/ozMLritcWE5MR Ky8j8K255lbS2jt/35bZV/lfyUSvDu0f4e+orJPt1nPf/5AuDMX/khguKT2chVupZfD/ k6V1RIMTitLF7Gqm8hwhids065sfJ7E+41XnFJ5wg3Z+vsLIxz2q4RnCmS21FHEjD8Fm 7aog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=DAJO0Ib7mJsv+PI7BiSsvf6Oy6Wdo++bg4qu4QDoir8=; b=w/NmAxSciggEL1ATaNyBHsYLY6gc1wog4kkCbFc5ambjbPUqV4ve+EwsODoualk8ez +hqM1dQfqHIWJJgxsn3bSC/VjEVW9dBaR+Ah9xsEakdiE6WsJjuc1iRVy6y3lS7pCWtO I9y1xbnuZ7D01m4NNQrUm3sIQRQpDnw97VjjQlvjauHmCAoJFtEZ6Mc0P4zcTGclVQBq Nvavqzv6oDo4zURxijkdKv8sU7YliI0H677rMe3kXWJ6KmYxTzbcg19q3O301lhZYXfE 6jh1KJ+kQfNmpJiw2r8VllCR9X06d1k2er3dXX/jjIlKFLYsK+AEevgpxr/jodzaSmLB QNCg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eK0gdQNJ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102a as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com. [2607:f8b0:4864:20::102a]) by gmr-mx.google.com with ESMTPS id g6-20020a816b06000000b0036c251a1626si119404ywc.4.2022.11.03.13.09.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Nov 2022 13:09:43 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102a as permitted sender) client-ip=2607:f8b0:4864:20::102a; Original-Received: by mail-pj1-x102a.google.com with SMTP id b11so2715585pjp.2 for ; Thu, 03 Nov 2022 13:09:43 -0700 (PDT) X-Received: by 2002:a17:903:248:b0:172:7520:db07 with SMTP id j8-20020a170903024800b001727520db07mr31790167plh.76.1667506182839; Thu, 03 Nov 2022 13:09:42 -0700 (PDT) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id p8-20020a1709027ec800b0018703bf3ec9sm1093164plb.61.2022.11.03.13.09.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Nov 2022 13:09:41 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eK0gdQNJ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102a as permitted sender) smtp.mailfrom=fiddlosopher-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:31682 Archived-At: I assume you=E2=80=99re targeting markdown? You could then just create a RawBlock with format =E2=80=9Cmarkdown=E2=80= =9D, and put this content in it with whatever indentation you like. > On Nov 3, 2022, at 9:14 AM, Aidan Reilly wrote: >=20 > Hello! >=20 > Trying to figure out how to use pandoc +fenced_div with a filter to trans= form this: >=20 > ::: note > Here is the first line of this note. >=20 > And the second, >=20 > And the third! > ::: >=20 > into this: >=20 > !!! note > Here is the first line of this note. >=20 > And the second, >=20 > And the third! >=20 > Struggling to understand if it is possible to "indent" elements using pan= doc. The mkdocs markdown spec requires the body of notes to be indented by = 4 spaces. Is there a way to apply indents without stringifying the content= ? >=20 > Thanks! > =20 >=20 > --=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/ddc82450-b82b-4b8f-9d5f-30c6a28c206fn%40googlegroups.com. --=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/7AF275BD-12EB-4424-84E5-1A45FF675520%40gmail.com.