* Code blocks in RST -> Markdown
@ 2023-02-17 19:33 perro tuerto
[not found] ` <6e7992b3-35a1-498b-a2ff-d136d7a96e95n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: perro tuerto @ 2023-02-17 19:33 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1049 bytes --]
Hi, I am trying to understand why the following code block in RST is not
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
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
--
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/6e7992b3-35a1-498b-a2ff-d136d7a96e95n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1872 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Code blocks in RST -> Markdown
[not found] ` <6e7992b3-35a1-498b-a2ff-d136d7a96e95n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-02-17 19:52 ` perro tuerto
0 siblings, 0 replies; 2+ messages in thread
From: perro tuerto @ 2023-02-17 19:52 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1308 bytes --]
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ó:
> Hi, I am trying to understand why the following code block in RST is not
> 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
> 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
>
>
>
--
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/470ec414-47ea-44d9-b2b9-9b320ed8b019n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2266 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-17 19:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 19:33 Code blocks in RST -> Markdown perro tuerto
[not found] ` <6e7992b3-35a1-498b-a2ff-d136d7a96e95n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-02-17 19:52 ` perro tuerto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).