From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31679 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aidan Reilly Newsgroups: gmane.text.pandoc Subject: Transform a fenced div to mkdocs markdown admonition format Date: Thu, 3 Nov 2022 09:14:30 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2926_1921882268.1667492070235" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37560"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDO2LZEJ4EIRB2WRR6NQMGQENZET4NA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 03 17:14:38 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f183.google.com ([209.85.222.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oqcrV-0009bH-61 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 03 Nov 2022 17:14:37 +0100 Original-Received: by mail-qk1-f183.google.com with SMTP id bp10-20020a05620a458a00b006fa29f253dcsf2306563qkb.11 for ; Thu, 03 Nov 2022 09:14:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667492076; cv=pass; d=google.com; s=arc-20160816; b=Xv/6mPcgIfZDdzavRwh8xkntdgBSwJCsBrmO6fx9HQEAqhk4fkekmFnv1C9yewOBXL Ak6Ic1+WtOJZ8wcvPjw4K55W4DNIFhKuwnE9ImdNYaj4ml2j/VwqSNPhrlNhvtDpvMzP 7FLdtA8JcDS2dLkA5TIc+SQJPxZ275SYmKomHv0aitVmbN2BMmyod2KJQOw2jtV82N+F cygkqn3KLHE0KIETmHfcPfZL8fauMtBcvBxonhuoYorD+BRtYjt+j6J8Tk8pTcvltjn6 1un1NUzCKiCC3dw06psM3c030ikfhnN5YiGwcMnEZd7a8GUBCll/ZB+0ehrnxGtAv1ff bbWA== 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:mime-version:subject :message-id:to:from:date:sender:dkim-signature; bh=0Ty9GCCIWmvoJd5nqMSRa8TxuVAWgGGBFSg9DRVIvdA=; b=pKMYEOLawyT8Af8ClGHwbXEsDDRkRWIUENdQs+CSG4s0676a8uC+4XrEXjCgmnt8Kb k6NwDaaBxSYJhT997TgJ4qsVP3tgnDP38djxydu4IRfP8tMHbd5oZN7URgP0ZkItJlXa V7tMlSXY3LkEhGmGYGs9gD2/Q5aypjkoo4tKtMMmggy0cI67HACdvTI9ZbXfUFeNgRms hRq/w+BxNI4oabRGN+kFF+EpnxZrUomcrjjHvR9KHXR4Eyatu6ksy6XsAYd9rvEtFETp +7NFMva+mG6VBP5AugigENGzwacMB8+GMW7ujbIp99HCyzKvwkQflOpQtXLYwzCFQx3p P9/w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KWhDGQc5; spf=pass (google.com: domain of aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org designates 170.10.129.124 as permitted sender) smtp.mailfrom=aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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:mime-version :subject:message-id:to:from:date:sender:from:to:cc:subject:date :message-id:reply-to; bh=0Ty9GCCIWmvoJd5nqMSRa8TxuVAWgGGBFSg9DRVIvdA=; b=YwzTG7M9x3YEdMfSpIolRg8JnMRzBSVzNo8GWtE4dx7JxOTKt24KJxO5iJUEdlUGdK OskT+tarzjQXGvisV6sNbEM3bPo8yD9eZgmJUISiem656SoFQnzjNgVWSoYayfPaLjVC mOW9zy0yWT4oOYY62E6tlmV3XtCj6yefA+ucbihUWVZgXbbxHNe5NzAcx2VzyzkbYTt4 lqeAUZRXJnALzX+JJW3x50aqCWDTCA59HT8y92AJdsiRca0rJc+Qyg02rcFTqtvk3/wA Rd+ZFSEnGkxwvTMWcV9CE1tEbjIAa2RRjv+ZQ3fzwS67DHOBcGnJrIdjqM1QwX8jqLpj wvZg== 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:mime-version :subject:message-id:to:from:date:x-gm-message-state:sender:from:to :cc:subject:date:message-id:reply-to; bh=0Ty9GCCIWmvoJd5nqMSRa8TxuVAWgGGBFSg9DRVIvdA=; b=t/PfOFpw3QayzZ3DPTy0FZpFwLQzx2mK5FUtj+GmnvpUOTVLnJoleJh4+n0LFAThn1 JA3sNxSXRH4hsQhJvDN/XYO3tKM0TRszq8HECURdQXNzkXKZP2s9PFttVFgf2SqvwatY nV62XsZWOEUgeIN60RVonnF+Ug739iyVmGE53PEpRqcSCE8MXCKSA1HCKhrt7/ywc9pC Ngzo7py4TrI5p3uzQPFXzPT2KSBB23ypt2vWIt51v1vrnBaso1j5PGeEIYUlIdtbUeys zfVCZcEFy5gTUR44Eq/wuBoaKXIjkyWwp8TVG2aaAGPvY+aFLBRy+jdq8RllnBYMv9aS K Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf0zh/38YebWQd5FeBUWykwaRB+avhllOf3KjcWRmhEGIsFSccB6 kyzFB/8FVwptrkZ5G7wrpY0= X-Google-Smtp-Source: AMsMyM4e4Kpy+SPAY3kjZs1Vi8u0uGzwxkmMi+HxKBBCyreGOs2Fmvsqe88feMdceV3ta89APXNE9Q== X-Received: by 2002:a05:622a:1a9f:b0:3a5:43b0:b87 with SMTP id s31-20020a05622a1a9f00b003a543b00b87mr9147477qtc.666.1667492076173; Thu, 03 Nov 2022 09:14:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0c:de11:0:b0:499:27f5:53ec with SMTP id t17-20020a0cde11000000b0049927f553ecls1376146qvk.7.-pod-prod-gmail; Thu, 03 Nov 2022 09:14:33 -0700 (PDT) X-Received: by 2002:ad4:594e:0:b0:4bb:d696:4a80 with SMTP id eo14-20020ad4594e000000b004bbd6964a80mr24844955qvb.2.1667492073673; Thu, 03 Nov 2022 09:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667492073; cv=none; d=google.com; s=arc-20160816; b=mN4cCcjf4wHX7Ix4ClTxmsX4FiGtrnblZkW509VpUXrIB1oysnoBPjOtDsbaZGvsob mPIsiMFTk1LuW3JZPxOqrSS6Cm7+E/h63oR3O9RYC5zv3isFOyIeETEB9udi0yrH5aRv ZUu16wqqGSm7vQnQ9XgzCbVlqrrScl4XdD0OuVZg7Ycgo3JAQF0emRnrAC21VqMwJQ4H A8ZU2IlQkuuXHPxPMNrQFAc525aBM8xb9BF3v1tsdy0EbTGgAIqeyfWsSQouiahx12on 53XalMMiEBkHctkK9wJXXzrQchhfEPq46t192F2iVTUo818PBMOc/bXL9C40o5hLSjb2 T9Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:subject:message-id:to:from:date:dkim-signature; bh=HxpWkInWQ8HJ3ctoQWYobgYAnOWCyxTBq2eApoxoFHc=; b=EPLClzhd3QTQYY1yeJnjqN9bE+BYOMklsy+BSEQ5IZMtKT775oWzWccZvmGxWOOQDg pEHewsf6tld9B087Duh7LvLM0DlaBHegDfY3QTpb5PUXnACr/ujFnTauJU89OYjykmV0 rOaev+fFm2K0+b+jyaf46kAGZkzfysBTOUxK0byH8DMalpzZ67i62aBPi47gmZjbkHBD iZPo3T4/ZQ0RJCMpb/O4xHEtDrIAJMViW5wPA0n/4FTW1tQLD7NBGzSLKd7/vjaK5vV1 VjChH7brUBh32GiGYrGm3Vd6rob2Mj6XGhd0u0mm/Eb1Y6KudqrdgPKlW4y6Rohk9iX8 XuOQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KWhDGQc5; spf=pass (google.com: domain of aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org designates 170.10.129.124 as permitted sender) smtp.mailfrom=aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Original-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com. [170.10.129.124]) by gmr-mx.google.com with ESMTPS id o1-20020a05620a22c100b006ee9c67dfb5si51598qki.4.2022.11.03.09.14.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Nov 2022 09:14:33 -0700 (PDT) Received-SPF: pass (google.com: domain of aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; Original-Received: from mail-ot1-f71.google.com (mail-ot1-f71.google.com [209.85.210.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-591-fwgwFTJJM26SlbUg_Y_LTA-1; Thu, 03 Nov 2022 12:14:31 -0400 X-MC-Unique: fwgwFTJJM26SlbUg_Y_LTA-1 Original-Received: by mail-ot1-f71.google.com with SMTP id o3-20020a9d6d03000000b0066c577eefc4so883885otp.22 for ; Thu, 03 Nov 2022 09:14:31 -0700 (PDT) X-Received: by 2002:a05:6870:4212:b0:13c:d544:8e2a with SMTP id u18-20020a056870421200b0013cd5448e2amr15736692oac.28.1667492071218; Thu, 03 Nov 2022 09:14:31 -0700 (PDT) X-Received: by 2002:a05:6870:4212:b0:13c:d544:8e2a with SMTP id u18-20020a056870421200b0013cd5448e2amr15736671oac.28.1667492070943; Thu, 03 Nov 2022 09:14:30 -0700 (PDT) X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Original-Sender: aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KWhDGQc5; spf=pass (google.com: domain of aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org designates 170.10.129.124 as permitted sender) smtp.mailfrom=aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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:31679 Archived-At: ------=_Part_2926_1921882268.1667492070235 Content-Type: multipart/alternative; boundary="----=_Part_2927_2019435984.1667492070235" ------=_Part_2927_2019435984.1667492070235 Content-Type: text/plain; charset="UTF-8" Hello! Trying to figure out how to use pandoc +fenced_div with a filter to transform this: ::: note Here is the first line of this note. And the second, And the third! ::: into this: !!! note Here is the first line of this note. And the second, And the third! Struggling to understand if it is possible to "indent" elements using pandoc. 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? Thanks! -- 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/ddc82450-b82b-4b8f-9d5f-30c6a28c206fn%40googlegroups.com. ------=_Part_2927_2019435984.1667492070235 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello!

Trying to figure out how to use pandoc +fenced_div with a fil= ter to transform this:

::: note
Here i= s the first line of this note.

And the second,

And the t= hird!
:::


into this:

!!!= note
    Here is the first line of this note.

  &= nbsp; And the second,

    And the third!

Struggling to understand if it is possible to "indent" elements usi= ng pandoc. The mkdocs markdown spec requires the body of notes to be indent= ed by 4 spaces.  Is there a way to apply indents without stringifying = the content?

Thanks!
 

--
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/ddc82450-b82b-4b8f-9d5f-30c6a28c206fn%40googlegroups.= com.
------=_Part_2927_2019435984.1667492070235-- ------=_Part_2926_1921882268.1667492070235--