mirror of
https://github.com/larstvei/ox-gfm.git
synced 2024-11-26 01:28:30 +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
|
||||
contextual information."
|
||||
(let* ((rows (org-element-map table 'table-row 'identity info))
|
||||
(no-header (or (<= (length rows) 1)
|
||||
(not (eq 'rule (org-element-property :type (cadr rows))))))
|
||||
(no-header (or (<= (length rows) 1)))
|
||||
(cols (cdr (org-export-table-dimensions table info)))
|
||||
(build-dummy-header
|
||||
(function
|
||||
|
Loading…
Reference in New Issue
Block a user