← Back to team overview

zim-wiki team mailing list archive

Re: markdown export template

 

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.vanbreugel@xxxxxxxxx>
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
>
>

Follow ups

References