I assume you’re targeting markdown?
You could then just create a RawBlock with format “markdown”, and put this content in it with whatever indentation you like.
> On Nov 3, 2022, at 9:14 AM, Aidan Reilly <aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>
> 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-/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.
--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/65G0Kuih1wA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
Aidan Reilly
He/Him/His
Senior Technical Writer, Telco (Cork, Ireland)
aireilly-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
IM/GitHub: aireilly
TEL: +353851261126