From mboxrd@z Thu Jan 1 00:00:00 1970
X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31522
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: gnpan
Newsgroups: gmane.text.pandoc
Subject: Re: Unable to center text in Markdown
Date: Tue, 11 Oct 2022 11:27:00 -0700 (PDT)
Message-ID: <2d6fdf96-2731-4970-a9eb-0f0d89e92c37n@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_30_1473235695.1665512820724"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="28195"; mail-complaints-to="usenet@ciao.gmane.io"
To: pandoc-discuss
Original-X-From: pandoc-discuss+bncBCMK7GUUXYBRB5XKS2NAMGQEGP33YVA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 11 20:27:05 2022
Return-path:
Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org
Original-Received: from mail-oo1-f55.google.com ([209.85.161.55])
by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.92)
(envelope-from )
id 1oiJy5-00077A-Hz
for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 11 Oct 2022 20:27:05 +0200
Original-Received: by mail-oo1-f55.google.com with SMTP id z3-20020a4a6543000000b004805f23e3b1sf4669557oog.12
for ; Tue, 11 Oct 2022 11:27:05 -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=pfIgiaLMZiFYXXpb8wsyXoitlNlGunIfhoUKMAWI2Ww=;
b=C/t/hToK8XBUPut/HhAACDWy+1QFskTWcLkqFPx2PGcC+0HgL0m44PzvAFmsK3Md7P
uIGjbLi5ItaD5//+T6p2r6tZeQyxc4wwW2ihfM6nCAMidgFkkU81+7y/nCVbkXAnv5V2
oVcjnEP/E5aFKPgl96wdp6vi+vr0a3+40UZ90lVaBZvS6NRkI0erWySQ2lzHwQ66JDDV
uwS7rZ5JDsPkuTQO08PdRwo0nwpuH78iR/shOcA+PjII3KHyMQsStoRB1CvDTZ8/Pqm/
ZuKYtmBR4kqhV7shWTFy1IlxtVhT1/gbBBUi53v5pVJn25oQAWGC0meYUB9eJvv5YEKe
WCaQ==
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=pfIgiaLMZiFYXXpb8wsyXoitlNlGunIfhoUKMAWI2Ww=;
b=pBK6J0xJNJijfdqY6PCU9t33Z5+NLmfaxmkDnZg6ULPJ0MUhUsPqxiaQ9mP+EU0beJ
yEvr3QRikqP4HTnbexRfLovWrQGk8G3UeRBqmEFKnxCPsh+JGmBSVn06b/Z6oZmwDgEh
3FdgB2fkg8tFW58My3mrFKp8Y31jTjoD1ZO4s+D3sJisfgWBxfdYYPzeXJiz++3qEmak
YcOjgJ+2p3LL6BeFET5XM1wFvUezVBLBWhS1R76CkiNXfl2e1gNvbg7sHyuAU2iL0nRk
ygq7Ei2LATUwE8Ib9k1dsP827RUdwt3/WtsiRy3YLwuHMMQl7e/ONceO0mvf9BHp4h6p
pODw==
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=pfIgiaLMZiFYXXpb8wsyXoitlNlGunIfhoUKMAWI2Ww=;
b=AkrBn2NSBTABZ661+CEW4eeJQ6YvyVWMk8nnVoBaE7rfADe3jjUOGS5Az6vVYcaNqp
1SFdi4vwwONJCV1F6YHintZzkakUuCQni2yBaMiCGhoCWnTsvrq/yHgP49nQS/PCIaSH
hEbfqqrqQnU5bghbVKvzjsTdPkD2BxyluAgC0eMFZu3E+KGiznGkuUvKOijYU70L3C29
7zpssqZ7mnGVE0cvs5VMI3s6WTOej1VU22RolbXtI/66m5ENkd5w7zi00h7NCXJxcgPz
iWOIGB5+78/bHbzaI43UgohAcOYMKvMyDb+OJsA7ssAh8sMpVOUMe+W3UP4BbWLJ5CM7
L1XA==
Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
X-Gm-Message-State: ACrzQf1mMaCO87rmcrMVbQTAKS+S/IKBX/rz9FJbcPuWZp5vZ6k819iF
TAoQ1vBep8LhZmn4sGfiSyk=
X-Google-Smtp-Source: AMsMyM6YZEg2woX8B0+lITRpc4FSVr6ngbQGF689r7FcgRIrEST8+lFmPcsOtXBL1m07Cf39aDlbAw==
X-Received: by 2002:a4a:b688:0:b0:448:69c6:2216 with SMTP id v8-20020a4ab688000000b0044869c62216mr9624424ooo.3.1665512824393;
Tue, 11 Oct 2022 11:27:04 -0700 (PDT)
X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Original-Received: by 2002:a05:6870:c7a8:b0:131:8003:bdff with SMTP id
dy40-20020a056870c7a800b001318003bdffls4661747oab.3.-pod-prod-gmail; Tue, 11
Oct 2022 11:27:01 -0700 (PDT)
X-Received: by 2002:a05:6870:7a4:b0:131:fe02:4c74 with SMTP id en36-20020a05687007a400b00131fe024c74mr304438oab.104.1665512821513;
Tue, 11 Oct 2022 11:27:01 -0700 (PDT)
In-Reply-To: <5466ba6b-31e3-4288-a86b-32463bdefe32n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
X-Original-Sender: g.panayotou-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:31522
Archived-At:
------=_Part_30_1473235695.1665512820724
Content-Type: multipart/alternative;
boundary="----=_Part_31_1224122356.1665512820724"
------=_Part_31_1224122356.1665512820724
Content-Type: text/plain; charset="UTF-8"
Since you are converting to pdf, you could try some LaTeX, e.g.:
\begin{center}{Your text here}\end{center}
On Tuesday, 11 October 2022 at 17:39:03 UTC+3 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/2d6fdf96-2731-4970-a9eb-0f0d89e92c37n%40googlegroups.com.
------=_Part_31_1224122356.1665512820724
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Since you are converting to pdf, you could try some LaTeX, e.g.:\begin=
{center}{Your text here}\end{center}
On Tuesday, 11 October =
2022 at 17:39:03 UTC+3 richar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
Hello!
I=
'm trying to center some text in my markdown document. I've tried:<=
br>
```
<p align=3D"center"> Sample Tex=
t </p>
<center> Sample Text </p>