OK, thanks for the feedback. I had a look at the code, but with my (very) limited Python skills, I can't really see where the export is handled. I'll see if I can do some post-processing of export output instead.

Cheers,

Paulo


On 1/8/18 8:53 AM, Jaap Karssenberg wrote:
Afraid there is no easy way to do that other than modifying the behavior in the code block plugin.

-- Jaap

On Fri, Dec 29, 2017 at 3:04 PM Paulo van Breugel <p.vanbreu...@gmail.com <mailto:p.vanbreu...@gmail.com>> wrote:

    Hi,

    How can I adapt (in the markdown export template) how code blocksĀ 
    are exported to markdown. I am looking for a way to have R code
    blocks exported as Rmarkdown code blocks, e.g.,

    From:


    {{{code: lang="r" linenumbers="True"

    code here

    }}}


    To:


    ```{r}

    code here

    ```

    Cheers


    Paulo

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to