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-/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.