From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32723 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Format supported for pandoc.RawBlock() and `raw_attributes` Date: Mon, 29 May 2023 12:00:29 -0700 Message-ID: <9DDA1053-7495-4806-9028-E3B218A0B51F@gmail.com> References: <8f73cb8b-cd69-4f3a-805b-e63d8b2a1dbdn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) 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="29019"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBUHM2ORQMGQEBHRY4EQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 29 21:00:36 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f190.google.com ([209.85.128.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q3i6e-0007Ok-IX for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 29 May 2023 21:00:36 +0200 Original-Received: by mail-yw1-f190.google.com with SMTP id 00721157ae682-568bc5db50dsf2177567b3.0 for ; Mon, 29 May 2023 12:00:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685386835; cv=pass; d=google.com; s=arc-20160816; b=IclKgwYQrKtV8H83CLgeEX5ZRM5hs9/lXF8DghHGRJbQWa60c2k4jKbaMzft6j5qfo IFokO8ImlD4u5rm31fjS+0TMOW5hv+6sfThBHkA/ALpmMhYnQudTf3W0PmpN0g5icMZ1 vLaj/S3zTyxMB4bfvHAXXptOIY5g/f5mkfpYy369zgSB/9O8LE2poFOcQEWKwAJxIRbX cXtWgRRmwPqmnPN/IkC6Px+QqQTmCR+aM8O47cbSv45PQtFKTn7nmjlY2BjP3u7nObGI aJmVQ8waGlxd18PwFM9Kdb1J2c3Fa8GdvH5ZxZBDK8yRpXIyAuVUmR6ktaeBt9NUqxkw HerA== 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=OtuiW0KekeMtWbTE9sHShyRHixCDily9HUaPQfDdfKY=; b=W4vSIa4DLS+7hSr5sm5gBXvkNjkOVzcBInnoN3n078kJdmAx7fLOmfOszgrO/Bgg70 y0lEOY2AuW9AfOS+zKs4McjBLwc/l8/dABV8Epk0Cv5wBsS3l8+tnbWJxsTWUkFGZdmf buGDqs1U6UGhGtIh35+K/lLVRXV/S94KF1OM7KB12HuU7O56ghSZ/0OoMHvZlaUbpoV6 XKN99ms5jGsMX/BDtwhXy8EFM2x5QCxGhSwgSLhb1Y39NrRIhDwpjBRelN5zcuLpdhGv qCjoS96tjerGwcBZbvnm1uppDHgFz0dHCWCpyy/r5/Rq1Tbbx5pnedGQ9TITkq5jPT/0 E7qQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="R/X5zmAP"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62e 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=20221208; t=1685386835; x=1687978835; 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=OtuiW0KekeMtWbTE9sHShyRHixCDily9HUaPQfDdfKY=; b=VwTe3kV6XTIRjiNwfXI7RrZoHP3HDCv1TD0yHtUQGSy/gLgd7ljGvmaOrJk8D4FJ4y cBdjOnhU8blgk3hKHxOwnRbZHXFsAHT6G+Qa7oK5ZEXhUw8yiLoYqKCSNQTQ60Og6pSw zkkHZMwPD5bKkvZ2VR9nfyjzAlAKwU5KN+udNH6YXp8zd5bxmbCIqI7FNtg6latXzP0b HfuYlD6fWmBEE/hGMxTy20rSATXZOx3F9SAmoU/ox51b3/xLpLjQndpOGD/iTR6phPur 450zzk5wkMSoDSw6ahjuWFI/9yeHvQ8vDW0Rn DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685386835; x=1687978835; 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=OtuiW0KekeMtWbTE9sHShyRHixCDily9HUaPQfDdfKY=; b=NvSFHSjGHG3ZpHqcPBANbH9rZq8o9x0/LsLkErtSTtTKlBrzK79VoTBdeZvDdJGezE ATI6iEgk7WzbiXcQgQPq/Dg2tIv3q3NKTWIZT1nyNsrbuVmU/xnmwIUUOB4Td8Uy3CP3 +awhzD3qr+Sl0OChTZ37PttZsjEIygEX79TIVs9VtUCzDdLg9QtHfJRNE/vxoGuqD04/ N6Q0ThcLWhrCb60JailVzXB/hhLDK/zmlCb+OTWPZvWhe+35CVi/lRkGlajC5XOpbABK c2mJ4KiGvz5uaSmX79G7POfJl5oEn8a+Wnb5lHtrbRGjdnAwayN X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685386835; x=1687978835; 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-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=OtuiW0KekeMtWbTE9sHShyRHixCDily9HUaPQfDdfKY=; b=ByinPNnsn+jEd0HNQ2/RdgveC5OP7CfIQW/Lio5XSSEhvP8cXsHW+mOpeEh6InCGqG wcmN1uhp1UyRVQ0uIzYTSDQJdDZugIcTlZepaA1h3UKLB8oEDIth+k2z8jfJeHRV/COO Xl9VjkYo+HF5YqS7kTSQw+UoahZJV80+Pi3kn425Hbs4Sp8oTrYED0QPhbAPdQOZyoZu D7B/eU6tWMYBJfBEytN/RzM2DIQYmyz5/MKuSH9+hFLpAxlSgXNuwgM8Rb Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxi989rW9idINr34jpDG2+zSdyvOWU5mPh/YNym/oPpoFitIyDi +PKrcE33KBOAD9IXmfjPbhQ= X-Google-Smtp-Source: ACHHUZ5tBzfsCJ2kqEFsOZS+eyA9MaCcIK839dBYczOn5wB3xgehCFBh/Ml4lNulRm9FaJOKuEvnrg== X-Received: by 2002:a81:a844:0:b0:55d:9e7c:72c0 with SMTP id f65-20020a81a844000000b0055d9e7c72c0mr5162016ywh.0.1685386835553; Mon, 29 May 2023 12:00:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:9382:0:b0:ba8:7cdd:206e with SMTP id a2-20020a259382000000b00ba87cdd206els952694ybm.0.-pod-prod-06-us; Mon, 29 May 2023 12:00:32 -0700 (PDT) X-Received: by 2002:a81:6c42:0:b0:55c:edbb:8e1c with SMTP id h63-20020a816c42000000b0055cedbb8e1cmr12921604ywc.27.1685386832047; Mon, 29 May 2023 12:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685386832; cv=none; d=google.com; s=arc-20160816; b=JWN/WdqMBLylQ8E92vm9OYDP1WxHxd4m8CoSjdCGsCID+/RzRuTcp/EOZoQtVUT+P7 xbTvC2M78qajuhNrB9cN6lxvGupLKkYpcX3vPvMdlr05kjpVa7zHZzrwEcZmRvCvMarY NuliJkG0KM8Pb9QRoQRSgZPZ5ePKuIFpBeX05lzRIIJ0P7JvRhnLbwnH799flVwXfYre A2g5Neao9VUfd7RGCkkbGMiLyyXhwfAtILL+BIaZ63c2P/1wE9ATRgrFcXOrePLHZAgG 0pNQKvtf0+6FwP0NQGiQPT5MtKFmbmI5l7QPDHDw2wbCjGdjkBk9bOeIaAUiLUjHUpqt RHDw== 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=apImeu1KWGIeZh8ob92R9ogaaodGCKHtyCsa3cP8ViA=; b=SJr0bsudYS/vcPESA9UqK0IIFD/OR6wKhAT/f0Bidd6x92vOFDzE5fz3mFBa8V40Kb djsD5leP3MYJi/kF9zDyb8RgC2eVVg01GcStgZNNtU1lNwRAVAOX0BNa1ULvdTq3PJs7 tzTyJXcy2hkC1+27EU5FRBY585qbA7oH3T/VnhU5pJ7T4jl9gz0xbxtHqvRHU4u9Yxp7 Yd1yQ4/xGjVhxwq4i/2cnPKjXU9nk/52rkbs1loQi8XCGeJf+J83J7JXA/8yMEmiNZa+ DfZ+j89MydYpahRDbmstDiCi+sKKjHYjGq7oSBC+5+ByDi+so+YuAVwUZuM71Pq/nmAB nWtw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="R/X5zmAP"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62e 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-pl1-x62e.google.com (mail-pl1-x62e.google.com. [2607:f8b0:4864:20::62e]) by gmr-mx.google.com with ESMTPS id bc26-20020a05690c001a00b0056190301fb2si899650ywb.1.2023.05.29.12.00.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 May 2023 12:00:32 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62e as permitted sender) client-ip=2607:f8b0:4864:20::62e; Original-Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1b00ecabdf2so33564195ad.2 for ; Mon, 29 May 2023 12:00:31 -0700 (PDT) X-Received: by 2002:a17:902:ec84:b0:1af:a143:b0e8 with SMTP id x4-20020a170902ec8400b001afa143b0e8mr137865plg.27.1685386830816; Mon, 29 May 2023 12:00:30 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:b4f9:1fbc:239f:3649]) by smtp.gmail.com with ESMTPSA id bh7-20020a170902a98700b001ac444fd07fsm8560300plb.100.2023.05.29.12.00.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 May 2023 12:00:30 -0700 (PDT) In-Reply-To: <8f73cb8b-cd69-4f3a-805b-e63d8b2a1dbdn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="R/X5zmAP"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62e 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:32723 Archived-At: I think you could open an issue for this. > On May 25, 2023, at 6:11 AM, christophe dervieux wrote: >=20 > From documentation, it is not clear to me what is the format supported fo= r pandoc.RawBlock and raw_attributes >=20 > For raw_attributes, doc says https://pandoc.org/MANUAL.html#extension-raw= _attribute >=20 > The format name should match the target format name (see -t/=E2=80=94to, = above, for a list, or use pandoc =E2=80=94list-output-formats) >=20 > and pandoc.RawBlock only says format of content. >=20 > I would think that pandoc.RawBlock(FORMAT, text) would work, but FORMAT i= s >=20 > The global FORMAT is set to the format of the pandoc writer being used (h= tml5, latex, etc.), so the behavior of a filter can be made conditional on = the eventual output format. >=20 > but it seems this don=E2=80=99t work in some case like reveajs >=20 > ```{=3Drevealjs} > content > ``` >=20 > does not get included in output, only using html works. Same with pandoc.= RawBlock >=20 > Is this expected ? Or is this an issue to report ? >=20 > Thank you >=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/8f73cb8b-cd69-4f3a-805b-e63d8b2a1dbdn%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/9DDA1053-7495-4806-9028-E3B218A0B51F%40gmail.com.