From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31519 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Craig Parker Newsgroups: gmane.text.pandoc Subject: Re: Unable to center text in Markdown Date: Tue, 11 Oct 2022 07:44:33 -0700 (PDT) Message-ID: <4a77f2aa-e010-4187-8ebd-f4959c5eae9fn@googlegroups.com> References: <5466ba6b-31e3-4288-a86b-32463bdefe32n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3624_1256745776.1665499473978" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10665"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDPL77HMC4INHAUWTIDBUBFGXOQEK-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 11 16:44:38 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oiGUo-0002ZA-GD for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 11 Oct 2022 16:44:38 +0200 Original-Received: by mail-oi1-f186.google.com with SMTP id o4-20020a0568080bc400b003547fbbc31csf3154943oik.12 for ; Tue, 11 Oct 2022 07:44:38 -0700 (PDT) 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:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=DbNcwf1XUem+OsBKONKMrR2rtjkHGv+OzLs3hveNx94=; b=eAg7w235mAtlkvGwyBHQLm3ARWL3JwUEC6xfQsYUeuXmayTNpBkNg2+tSnzH8uivQo x/HXTWVsm/TunUQJQqRqdu8DxsBg6YrGmNjd+o57cNuggoBQRSxPMNovpDPZOFnoI0M6 ODq7y0o4+zcwv4TWPAqbXl61ppDnsxl8MPLCtTPz9FzuV2vmFatPc6hN98cT04JnbvgS rpMTdvIi/1o9erpQ/Ai4EM+54NJRKRUE2XBptPux1QsUCJd4KKedaX+twC5P6HdRDVA/ H14+QkFI+G0Vt4Pjmhd04vvMuHpjbxrMjwWtURz7rqQXzbfD7fhzFkcatewVN0AvWpWJ f31Q== 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:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=DbNcwf1XUem+OsBKONKMrR2rtjkHGv+OzLs3hveNx94=; b=KuRp6mzXypckgj+MtM3ve1BDQuEEd3rkTC3fAJSy3lOMh/NL/70UJpcSfhq1QmLQ04 j3MG39Oj+vrIASpVazhsumQ9hjzEfTCtuSglgEzHDjVC6ohXxVXl4RlIdKX9gBnusyQc chPe0Eb0VXymdWXFiaFQJ8EggjQHDlRGogi91iy8hRvV5t7OtHpHn/nmcqhZV3fLfkgF /3JwPsbi7H5Rb4AywPyZMb3FY/DytBuaOM00QU2zm6W53FfA2fkt51wH35Q6R5gOyN+5 PzRlALx0yW2Quxc5f0WgbabynDviGC23ooPUbi4UnISLTISJ2C1QC1+rnjoUG8X+ywqD EVdg== 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:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=DbNcwf1XUem+OsBKONKMrR2rtjkHGv+OzLs3hveNx94=; b=j6kkqxFOEWSUbJhQ6vNyrg69nAZQccwk6Ltmk6kDT26SSfVwAziKk8tLF2oCPut+To Iw3OzDEtMl+j3+XDhz1wLTOROQuIW7wY+aoAUT6gzUOLszqc9x2WIFWHB3sPLpp27HCz aV2Sf4t1396FCgJ+y6WkdchZ0ih7hkjUtXshTsAxC4mnNzJ2Awo88Qw5Pa0kNO0Kpqo5 0h9TFOflg9GTFxlJg6DdAqjpe94nFhOn4LGiOtuaU7cm/g8uDOZAj4gwNeI+3MBmRiFH pL2ocr0gskVBZe7FbPhzCERrzFzhUdnMcdhm4W8RiHxGojBr/WA15pHkHEHnnZBdmPTO 2qPQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf23vPHOtda7KC9yWau4zgNZW1YheR3/vTqpMHTF+SG7YV3137W+ VkO07k0aQANbybJBytsy0ms= X-Google-Smtp-Source: AMsMyM5DG5RexoFAw2KbMifQHz4NyqTt8d4pVPbPxehMJGmSqtUx45Q+zz7MBm1b0XhSlxD1KW5c9g== X-Received: by 2002:a05:6808:200e:b0:354:bd5f:eb3f with SMTP id q14-20020a056808200e00b00354bd5feb3fmr1322652oiw.38.1665499477403; Tue, 11 Oct 2022 07:44:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:e287:b0:136:8a4d:f0b3 with SMTP id v7-20020a056870e28700b001368a4df0b3ls1785607oad.11.-pod-prod-gmail; Tue, 11 Oct 2022 07:44:35 -0700 (PDT) X-Received: by 2002:a05:6870:c182:b0:12a:e54e:c6e8 with SMTP id h2-20020a056870c18200b0012ae54ec6e8mr18529537oad.207.1665499474925; Tue, 11 Oct 2022 07:44:34 -0700 (PDT) In-Reply-To: <5466ba6b-31e3-4288-a86b-32463bdefe32n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: craig.fossfolks-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:31519 Archived-At: ------=_Part_3624_1256745776.1665499473978 Content-Type: multipart/alternative; boundary="----=_Part_3625_892602237.1665499473978" ------=_Part_3625_892602237.1665499473978 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_3625_892602237.1665499473978 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I wonder if you've got to make a class.

MD:
:::pc
Sample text<= br>:::

CSS:
.pc p {text-align:center;}

Or some such.
On Tuesd= ay, 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 documen= t. I've tried:
```
<p align=3D"center&q= uot;> Sample Text </p>
<center> Sample Text </p= >
```
And used `pandoc test.md -o test.pdf` to compi= le 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 &= 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/4a77f2aa-e010-4187-8ebd-f4959c5eae9fn%40googlegroups.= com.
------=_Part_3625_892602237.1665499473978-- ------=_Part_3624_1256745776.1665499473978--