I wonder if you've got to make a class.
MD:
:::pc
Sample text
:::
CSS:
.pc p {text-align:center;}
Or some such.
On Tuesday, October 11, 2022 at 10:39:03 AM UTC-4 richar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
> Hello!
>
> I'm trying to center some text in my markdown document. I've tried:
> ```
>
Sample Text
> Sample Text
> ```
> And used `pandoc test.md -o test.pdf` to compile my document. However, the
> text shows up as left-aligned and not centered.
>
> How may I resolve this issue?
>
> Thank you.
>
--
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/4a77f2aa-e010-4187-8ebd-f4959c5eae9fn%40googlegroups.com.