Re: [PATCH] ox-md.el export code blocks using grave accents.

2021-04-27 Thread Nicolas Goaziou
Hello, Timothy writes: > Even just commonmark has multiple ways you can do things (backticks and > spaces for code), and I'd think supporting a set like: Gruber's > original, commonmark, and GFM would make sense. > > Alternatively, we can leave that to other backends like ox-gfm. That is the

Re: [PATCH] ox-md.el export code blocks using grave accents.

2021-04-27 Thread Timothy
Bruce D'Arcus writes: > On Sat, Jan 30, 2021, 6:29 PM Tim Cross wrote: > >> There are no precise standards for markdown, but org states in the >> manual that the version of markdown it supports is that defined at >> http://daringfireball.net/projects/markdown > > Perhaps at some point it

Re: [PATCH] ox-md.el export code blocks using grave accents.

2021-04-27 Thread Bruce D'Arcus
On Sat, Jan 30, 2021, 6:29 PM Tim Cross wrote: > There are no precise standards for markdown, but org states in the > manual that the version of markdown it supports is that defined at > http://daringfireball.net/projects/markdown Perhaps at some point it would make sense to change to this,

Re: [PATCH] ox-md.el export code blocks using grave accents.

2021-04-27 Thread Bastien
Tim Cross writes: > I don't think this patch is correct. I'm marking it as "canceled" right now, thanks.

Re: [PATCH] ox-md.el export code blocks using grave accents

2021-01-31 Thread Rodrigo Morales
Please, omit this duplicated thread. It has already been discussed. This thread was created due to an error of mine. On Thu, 28 Jan 2021 at 22:51, Rodrigo Morales wrote: > > Sorry for not attaching the files. Here they are. > > > -- > Greetings, > Rodrigo Morales. >

[PATCH] ox-md.el export code blocks using grave accents

2021-01-30 Thread Rodrigo Morales
[PATCH] ox-md.el export code blocks using grave accents. This patch includes the following changes in =ox-md.el= + =org-md-example-block= now exports code blocks using triple grave accents instead of four spaces of indentation. This has been done for two main reasons: 1. To be able

Re: [PATCH] ox-md.el export code blocks using grave accents

2021-01-30 Thread Rodrigo Morales
Sorry for not attaching the files. Here they are. # Table of Contents When exporting the following code block using indentation, it is not possible to know where the source code ends and the results of evaluation starts. echo "echo ab" echo "seq 1 2" echo ab seq 1 2 The

Re: [PATCH] ox-md.el export code blocks using grave accents.

2021-01-30 Thread Rodrigo Morales
Tim Cross writes: > I don't think this patch is correct. > > From your explanation, I suspect what you really need is to use the > github flavoured markdown package available as ox-gfm on MELPA rather > than the default ox-md package in org mode. Thank you very much for the detailed

Re: [PATCH] ox-md.el export code blocks using grave accents.

2021-01-30 Thread Tim Cross
I don't think this patch is correct. There are no precise standards for markdown, but org states in the manual that the version of markdown it supports is that defined at http://daringfireball.net/projects/markdown - which uses the indentation style for code blocks, not the style. Note

[PATCH] ox-md.el export code blocks using grave accents.

2021-01-30 Thread Rodrigo Morales
This patch includes the following changes in =ox-md.el= + =org-md-example-block= now exports code blocks using triple grave accents instead of four spaces of indentation. This has been done for two main reasons: 1. To be able to include the language so that Markdown engines can