From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32195 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: perro tuerto Newsgroups: gmane.text.pandoc Subject: Re: Code blocks in RST -> Markdown Date: Fri, 17 Feb 2023 11:52:27 -0800 (PST) Message-ID: <470ec414-47ea-44d9-b2b9-9b320ed8b019n@googlegroups.com> References: <6e7992b3-35a1-498b-a2ff-d136d7a96e95n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7118_1243365246.1676663547006" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40438"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCMYR75V2YMRB7FVX6PQMGQELKQVEEQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Feb 17 20:52:31 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f191.google.com ([209.85.160.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pT6mV-000AJ3-8Z for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 17 Feb 2023 20:52:31 +0100 Original-Received: by mail-qt1-f191.google.com with SMTP id t16-20020ac85890000000b003b9b4ec27c4sf1070594qta.19 for ; Fri, 17 Feb 2023 11:52:31 -0800 (PST) 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=AG9YUZxvG1cTdiiHIZaKNG06XFUAEvoc/vm1lFq+ARI=; b=C4oj/W3/C2Nms5upL73DTENXyl7kURgsy5iDEwspYW1ZKwoawDIRFNLBtdh396kKmG BucybOTaCVuYG4pD0Dho97OsFjeJ8IknMW7tRsD1xTGz62G/BUCRIHT9E4AeVe9Jai77 FgeWec1pqh+wUT8Fp8720tMe02k0QmY+izlaqemtZ+GyMbBC/LZMQvXdTNf++SM6p6Sb RfiF9XyK6CDrR3honsotri9xy1ktzd5+g72/hOvDIWjd84OzaDbxW1ualYdRdJDdjIaV lB04EurSAyZgivBWyP/tQh3u30bsYaI5eiZHsQbTJ+uqRLiI14prosR2EJ66Cs+CHH/y GUxA== 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=AG9YUZxvG1cTdiiHIZaKNG06XFUAEvoc/vm1lFq+ARI=; b=HifoIVm4xErCLiCHqUtLp/PRl2QjOctD8AofUM2iE1JvjfSV2ID11MeWkJJc2RKLR0 a1HPEq6h8KnV5tYWZTA06MX48KEq7P1wugFTfxGq4QN4kwey8jIch+WVjGlSr9YhTlao ZzKQ8uU1oRnCbO1Mih3R7r34gCSJBCsF6oQJ/HATZyrJkxl1zSV5ueHEjBnFwXNNiMCe hyZn5kwQTYlD4+BSKY+fPI7ZE9DcycErU9lNegQWgLa+P1Tbkswoo2zB9WVtxW/X7kQ+ 1sWjgAKQTzY8KdxJqcmzM8T8we9f7f6jDMqER4s8CoR3SuYEaPYCXkFTR3vFEo/A5a5F a1NA== 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=AG9YUZxvG1cTdiiHIZaKNG06XFUAEvoc/vm1lFq+ARI=; b=cFXaMiwKCKw1O5dGTSOkrlyNXVYHj41zBMPCu3+O7Oa4kgqrkpNf8vZtGD27ExSvj2 qlr5z81OxjppXgegThIgIIJucHJwIyysZXfIGvwsEKZIEvziLjLZZqWx4tSTZMizny3s 0JmxIQ1WOcBrhckqDXLOmS7ElYnAe+CTM+D9Im8vl+LqDCHZw8+asS/Lj2iu+wt/qMVt lHk5wbXDg0mFGYUVh2qTHOoyLeNdsxRS4R9NIdbTaoL+vbPhcpomliW+YQSI7UvRwDxn PWcpgpyerYLOrHjwtDW5jG4aL5Una5XApofwBAW5SUIL4vtoHx/Kz8wnH1/pk3yVIjjl FUSA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKV6ffRK/R1zzUmUryU1M0ChtBz8s4pMG/cwzHBoVb7H3ltczGkv L5vGF1B9jGNSEL3QMUR9X7vzlA== X-Google-Smtp-Source: AK7set86oU2tWGLxyTFpUthJJt8cSGk2O0BtNDq9+ewb6iQAKxNZYTrMp+9EF7N5oKBPl5RvGFeGnQ== X-Received: by 2002:a37:78d:0:b0:738:fdd2:d247 with SMTP id 135-20020a37078d000000b00738fdd2d247mr156455qkh.5.1676663550228; Fri, 17 Feb 2023 11:52:30 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:4982:0:b0:3b0:98a4:96b8 with SMTP id f2-20020ac84982000000b003b098a496b8ls1754564qtq.8.-pod-prod-gmail; Fri, 17 Feb 2023 11:52:27 -0800 (PST) X-Received: by 2002:ac8:40d9:0:b0:3b8:5484:d3eb with SMTP id f25-20020ac840d9000000b003b85484d3ebmr301430qtm.1.1676663547650; Fri, 17 Feb 2023 11:52:27 -0800 (PST) In-Reply-To: <6e7992b3-35a1-498b-a2ff-d136d7a96e95n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: nika.zhenya-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:32195 Archived-At: ------=_Part_7118_1243365246.1676663547006 Content-Type: multipart/alternative; boundary="----=_Part_7119_707160145.1676663547006" ------=_Part_7119_707160145.1676663547006 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My bad, the problem is that I am mixing MD and RST inputs. El viernes, 17 de febrero de 2023 a las 11:33:30 UTC-8, perro tuerto=20 escribi=C3=B3: > Hi, I am trying to understand why the following code block in RST is not= =20 > working when I exported it to MD: > > .. code:: sh > > echo "Hi" > > The result that I get is this one: > > .. code:: sh > > echo "Hi" > > The native is this: > > Para > [ Str ".." , Space , Str "code::" , Space , Str "sh" ] > , Para > [ Str "echo" , Space , Quoted DoubleQuote [ Str "Hi" ] ] > > Also, if I do the inverse (MD -> RST), I actually get the syntax, for=20 > example: > > ``` sh > echo "Hi" > ``` > > Gets: > > .. code:: sh > > echo "Hi" > > So it is RST -> MD the one that is showing an unexpected behavior for me. > > What am I doing wrong? I also tried code-block instead of code. > > Thanks > > > --=20 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 e= mail 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/470ec414-47ea-44d9-b2b9-9b320ed8b019n%40googlegroups.com. ------=_Part_7119_707160145.1676663547006 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My bad, the problem is that I am mixing MD and RST inputs.

El viernes, 17= de febrero de 2023 a las 11:33:30 UTC-8, perro tuerto escribi=C3=B3:
<= /div>
Hi, I am tryi= ng to understand why the following code block in RST is not working when I = exported it to MD:

.. code:: sh

=C2= =A0=C2=A0 echo "Hi"

The resul= t that I get is this one:

.. code:: sh
echo "Hi"

The native is thi= s:

Para
=C2=A0 =C2=A0 [ Str ".."= ; , Space , Str "code::" , Space , Str "sh" ]
, Para=
=C2=A0 =C2=A0 [ Str "echo" , Space , Quoted DoubleQuote [ Str= "Hi" ] ]


Also, if I do the i= nverse (MD -> RST), I actually get the syntax, for example:
``` sh
echo "Hi"
```
Gets:

.. code:: sh

=C2= =A0 =C2=A0echo "Hi"

So it is RST = -> MD the one that is showing an unexpected behavior for me.
<= br>
What am I doing wrong? I also tried code-block i= nstead of code.

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/470ec414-47ea-44d9-b2b9-9b320ed8b019n%40googlegroups.= com.
------=_Part_7119_707160145.1676663547006-- ------=_Part_7118_1243365246.1676663547006--