mirror of
https://github.com/larstvei/ox-gfm.git
synced 2024-11-26 09:38:31 +00:00
Use dummy headers, but just for single row tables
This commit is contained in:
parent
92f418d3c5
commit
77447e8cd3
@ -192,8 +192,7 @@ channel."
|
|||||||
CONTENTS is the contents of the table. INFO is a plist holding
|
CONTENTS is the contents of the table. INFO is a plist holding
|
||||||
contextual information."
|
contextual information."
|
||||||
(let* ((rows (org-element-map table 'table-row 'identity info))
|
(let* ((rows (org-element-map table 'table-row 'identity info))
|
||||||
(no-header (or (<= (length rows) 1)
|
(no-header (or (<= (length rows) 1)))
|
||||||
(not (eq 'rule (org-element-property :type (cadr rows))))))
|
|
||||||
(cols (cdr (org-export-table-dimensions table info)))
|
(cols (cdr (org-export-table-dimensions table info)))
|
||||||
(build-dummy-header
|
(build-dummy-header
|
||||||
(function
|
(function
|
||||||
|
Loading…
Reference in New Issue
Block a user