From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32118 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jcr Newsgroups: gmane.text.pandoc Subject: Identifying a Header Date: Tue, 31 Jan 2023 08:07:16 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1898_1431590197.1675181236100" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28458"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDQLFNXWVILBBNPZ4SPAMGQEYJGS4WI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 31 17:07:21 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pMtAH-0007Dv-4J for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 31 Jan 2023 17:07:21 +0100 Original-Received: by mail-ot1-f60.google.com with SMTP id cj23-20020a056830641700b00686e1aed2e4sf7231397otb.8 for ; Tue, 31 Jan 2023 08:07:21 -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=rwpLOCHBizPnJHOwC1QVim0nhf2pIC+2dCOOQcxNr+4=; b=D4fkPcUFWVCLTPr0ODThWfgpampiyNVKjaL/4/f+KZ5BPDTbIxB9iLjPoyTau5RMsm 0iaNmKZUNLENLGqvt8Qv+qojMDLKMH1bvO/fZvJkoVoWP+u9zvUPzSkxjSp11lKGh78Q 5h+owrj4zBa/+eF50F9VLoPfpSrbfxKamPmelhRPiLcquIh8ccb1jI8tzkNz+TZkriJH lHLdcBjEpaFQ+khe1q5RfTm13LV+ogDm5l4tqh/V0q/64XQ+iLeYlZqsWrkIUuaXGBpL 5c3SescOPAX/jpVV3LHpxlxd7WL8Qng64cWTKgZRTNjjl4gxVio21xb3nGVXdn5L/bpc OaMQ== 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=rwpLOCHBizPnJHOwC1QVim0nhf2pIC+2dCOOQcxNr+4=; b=DxvxuwrjH1JOcghLeOI2ZTXPFQQEQtgH2402sepA/VIwrjKB9dihPQWm1U+846Efh9 T9N1/KCF2NtA2VGsQ1ISpGoMl9HQX7Jd5AbzR8DK0IjK1txvuhhGyqZsuhmvH6igGDip PX+sdceRH/ML8H0ElTuYeEi9u9koIut5GbAxEsYI3op0kKkQEEiZ9IgDXwJjLa0/EWK0 Z5Vqzq7LeVBBBliz/Mcu7Q6qo7rABJRSvPQ/XMLURbpskU+9SkwQZiIEoXbrz4+6eHdH XMYjhpNZDRED+FwMpFieKVZ6sXxiIjPXt6nStDNvQgTXCEEeLUzVqbWcX3aa61oBwGL9 EFFA== 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=rwpLOCHBizPnJHOwC1QVim0nhf2pIC+2dCOOQcxNr+4=; b=N0kPJjNY31vDKARiyc2JdnYhvVe2qcmAjNlr0ML3ZfhysALOa1Vc5nJlDZ0Tr04hSJ X6N3MWeydkcKEML9QggDYWgpUwMsKVNxxygAuA+bxQpwmTuhIJMEYvmptNy9pn04LwgG Tu+8N3cuJS/Di0W3WIfbDYsraqiQyviwZwNZJ1xVQM3Xz4F2buze2ETbo4q7BPdOtWhn RQqEHQNCxgAjXDJnhOW0MfkL152DOTCW5SKMUdGM8h1yXIzmjXcMZKYbKDtvdHY/Yo6Z 4VZcWR9FU+R8VwBNqOt0SOpElW0F4gH6/3Jb6yHJN4GGf7Sxb5RvjM7EBOSLXsNyBJCu IFDA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2krLJSvGu/2XnyqMTuLPF66emN0mvftBrNJNhY0yCCs38yJrzW0v 2bsKoNiX8GkpOEzDAvXXGDg= X-Google-Smtp-Source: AMrXdXsZ4xwfE9vkpBqmmU+MnE+k4vvTwY0eVUTfAor7v7scvebLd15MxIBSTEQnGsXHTGDBUkrpIg== X-Received: by 2002:a05:6871:4809:b0:156:f2d1:14e5 with SMTP id qc9-20020a056871480900b00156f2d114e5mr4986852oab.232.1675181240067; Tue, 31 Jan 2023 08:07:20 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:41d5:0:b0:359:ca69:f473 with SMTP id o204-20020aca41d5000000b00359ca69f473ls4388308oia.10.-pod-prod-gmail; Tue, 31 Jan 2023 08:07:16 -0800 (PST) X-Received: by 2002:a05:6808:1982:b0:363:a03b:6cdd with SMTP id bj2-20020a056808198200b00363a03b6cddmr2761076oib.104.1675181236680; Tue, 31 Jan 2023 08:07:16 -0800 (PST) X-Original-Sender: ffi.appdev-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:32118 Archived-At: ------=_Part_1898_1431590197.1675181236100 Content-Type: multipart/alternative; boundary="----=_Part_1899_189479198.1675181236100" ------=_Part_1899_189479198.1675181236100 Content-Type: text/plain; charset="UTF-8" How do I test whether a block is a Header? pandoc.utils.type(el) just returns "Block" for Header, Div, Para, etc. I'm still using pandoc 2.19.2, if it matters. -- 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/f319694d-073d-4c4d-b447-681f3d4c21bcn%40googlegroups.com. ------=_Part_1899_189479198.1675181236100 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
How do I test whether a block is a Header? pandoc.utils.type(el) just = returns "Block" for Header, Div, Para, etc.

I'm = still using pandoc 2.19.2, if it matters.

--
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/f319694d-073d-4c4d-b447-681f3d4c21bcn%40googlegroups.= com.
------=_Part_1899_189479198.1675181236100-- ------=_Part_1898_1431590197.1675181236100--