emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] ox-gfm.el tries to treat boxquotes as tables
@ 2014-08-26  9:01 Thorsten Jolitz
  2014-08-26 11:39 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Jolitz @ 2014-08-26  9:01 UTC (permalink / raw)
  To: emacs-orgmode


Hi List,

when exporting to github markdown, ox-gfm.el tries to treat the content
of boxquotes as table, not a good idea (look at the README of
https://github.com/tj64/org-bandbook).

,----[ C-h f org-bandbook-make-bandbook RET ]
| org-bandbook-make-bandbook is an interactive Lisp function in
| `org-bandbook.el'.
| 
| It is bound to C-c b m.
| 
| (org-bandbook-make-bandbook)
| 
| Create bandbook for current project.
`----

Its probably just matching the one | at the beginning of line and
concludes it looks at a table.

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] ox-gfm.el tries to treat boxquotes as tables
  2014-08-26  9:01 [BUG] ox-gfm.el tries to treat boxquotes as tables Thorsten Jolitz
@ 2014-08-26 11:39 ` Nicolas Goaziou
  2014-08-26 11:45   ` Thorsten Jolitz
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2014-08-26 11:39 UTC (permalink / raw)
  To: Thorsten Jolitz; +Cc: emacs-orgmode

Hello,

Thorsten Jolitz <tjolitz@gmail.com> writes:

> when exporting to github markdown, ox-gfm.el tries to treat the content
> of boxquotes as table, not a good idea (look at the README of
> https://github.com/tj64/org-bandbook).
>
> ,----[ C-h f org-bandbook-make-bandbook RET ]
> | org-bandbook-make-bandbook is an interactive Lisp function in
> | `org-bandbook.el'.
> | 
> | It is bound to C-c b m.
> | 
> | (org-bandbook-make-bandbook)
> | 
> | Create bandbook for current project.
> `----
>
> Its probably just matching the one | at the beginning of line and
> concludes it looks at a table.

This is correct. Last column needs not to be closed to be a valid table
(e.g. TAB after "|--" will complete it).

You may want to enclose your boxquotes within some environment that
cannot contain tables, e.g. "verse" or "example".


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] ox-gfm.el tries to treat boxquotes as tables
  2014-08-26 11:39 ` Nicolas Goaziou
@ 2014-08-26 11:45   ` Thorsten Jolitz
  0 siblings, 0 replies; 3+ messages in thread
From: Thorsten Jolitz @ 2014-08-26 11:45 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> when exporting to github markdown, ox-gfm.el tries to treat the content
>> of boxquotes as table, not a good idea (look at the README of
>> https://github.com/tj64/org-bandbook).
>>
>> ,----[ C-h f org-bandbook-make-bandbook RET ]
>> | org-bandbook-make-bandbook is an interactive Lisp function in
>> | `org-bandbook.el'.
>> | 
>> | It is bound to C-c b m.
>> | 
>> | (org-bandbook-make-bandbook)
>> | 
>> | Create bandbook for current project.
>> `----
>>
>> Its probably just matching the one | at the beginning of line and
>> concludes it looks at a table.
>
> This is correct. Last column needs not to be closed to be a valid table
> (e.g. TAB after "|--" will complete it).
>
> You may want to enclose your boxquotes within some environment that
> cannot contain tables, e.g. "verse" or "example".

I see, makes sense, thanks!

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-26 11:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-26  9:01 [BUG] ox-gfm.el tries to treat boxquotes as tables Thorsten Jolitz
2014-08-26 11:39 ` Nicolas Goaziou
2014-08-26 11:45   ` Thorsten Jolitz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).