Re: [O] [PATCH] ox-md.el: enhance example/src blocks support

2016-12-14 Thread Lungang Fang
Hi Nicolas, On Wed, Dec 14, 2016 at 11:22 PM, Nicolas Goaziou wrote: > Unfortunately, this syntax is not recognized in vanilla Markdown syntax > (http://daringfireball.net/projects/markdown/syntax#precode), which > "ox-md.el" handles. > > For special needs, you can create a derived back-end. Ther

[O] [PATCH] ox-confluence.el: export fixed-width as example-block

2016-12-14 Thread Lungang Fang
* contrib/lisp/ox-confluence.el (org-confluence-fixed-width): export fixed-width as example-block so that the outcome is more consistent with org-mode format. Other back-ends (say ox-md.el) also work this way. TINYCHANGE --- contrib/lisp/ox-confluence.el | 6 -- 1 file changed, 4 insertions(+

[O] [PATCH] ox-md.el: enhance example/src blocks support

2016-12-14 Thread Lungang Fang
* lisp/ox-md.el (org-md-example-block): Use "```" instead of 4-whitespace indentation for example/src blocks. The 4-whitespace has difficulty handling blocks under list items. The new code also allows syntax highlights for Programming languages The following org mode snippet is a test input: - Py

[O] [PATCH] ox-confluence.el: Support quote blocks

2016-12-12 Thread Lungang Fang
* contrib/lisp/ox-confluence.el (org-confluence-quote-block): new function Convert quote blocks as shown below: #+BEGIN_QUOTE {quote} This is a quote ==> This is a quote #+END_QUOTE {quote} --- contrib/lisp/ox-confluence.el | 4 1 file changed, 4 insertions(+) diff

[O] [PATCH] ox-confluence.el: Fix error in `org-confluence-fixed-width`

2016-12-12 Thread Lungang Fang
* contrib/lisp/ox-confluence.el (org-confluence-fixed-width): retrieve value of org element "fixed-width" instead of using "content", which is empty. --- contrib/lisp/ox-confluence.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/lisp/ox-confluence.el b/contrib/

[O] [PATCH] ox-confluence.el: Fix error in `org-confluence-fixed-width`

2016-12-12 Thread Lungang Fang
* contrib/lisp/ox-confluence.el (org-confluence-fixed-width): retrieve value of org element "fixed-width" instead of using "content", which is empty. --- contrib/lisp/ox-confluence.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/lisp/ox-confluence.el b/contrib/

Re: [O] [PATCH] Add support for ordered list to ox-confluence.el

2016-12-09 Thread Lungang Fang
Hi Nicolas and Charles, Thank you both. Lungang On Sat, Dec 10, 2016 at 7:34 AM, Nicolas Goaziou wrote: > Hello, > > Lungang Fang writes: > > > Great! Then, what about using my patch ? It would be my first patch > adopted > > by any open source project, a rea

Re: [O] [PATCH] Add support for ordered list to ox-confluence.el

2016-12-09 Thread Lungang Fang
, from what I can tell, they > both will work. > > So I don't really care which one you choose either. I just needed the > functionality. > -- > Charles Durst > cwdurst+orgm...@gmail.com > > On Thu, Dec 8, 2016 at 9:32 PM, Lungang Fang > wrote: > > Hi Char

[O] [PATCH] Add support for ordered list to ox-confluence.el

2016-12-08 Thread Lungang Fang
quest. If it is not, could anyone please tell me the correct way to submit a patch request to org-mode? Regards, -- Lungang Fang 0001-ox-confluence.el-Add-support-for-ordered-list.patch Description: Binary data

Re: [O] Fwd: [PATCH] Add support for ordered list to ox-confluence.el

2016-12-08 Thread Lungang Fang
markup-724765099.html#ConfluenceWikiMarkup-Mixedlists > > -- > Charles Durst > cwdurst+orgm...@gmail.com > > > On Thu, Dec 8, 2016 at 5:49 PM, Nicolas Goaziou > wrote: > > Hello, > > > > Lungang Fang writes: > > > >> Attached is a patch f

[O] [PATCH] ox-confluence.el: Add support for ordered list

2016-12-07 Thread Lungang Fang
Hi there, This is a patch for contrib/lisp/ox-confluence.el generated following instructions on http://orgmode.org/worg/org-contribute.html#patches . It adds support for ordered list. -- Lungang Fang * contrib/lisp/ox-confluence.el (org-confluence-item): Support ordered list When converting

[O] Fwd: [PATCH] Add support for ordered list to ox-confluence.el

2016-12-07 Thread Lungang Fang
is is the correct email list for patch request. If it is not, could anyone please tell me the correct way to submit a patch request to org-mode? Regards, -- Lungang Fang -- Lungang Fang Sydney, NSW 2153, Australia M: +61 431 208 979 | E: lungang.f...@gmail.com 0001-ox-confluence.el-Add-su