vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit f1075574631f8d8183e6a6c7bc6df9e7937de6fb
parent 7a4ad2ed9505bc34d70b7be04c67552dbc110072
Author: Gaurang Kher <gaurangkher@yahoo.com>
Date:   Wed, 29 Jul 2020 14:36:33 -0500

#940: Render header inside thead element if table has header (#941)


Diffstat:
Mautoload/vimwiki/html.vim | 4++++
Mdoc/vimwiki.txt | 3+++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim @@ -797,14 +797,18 @@ function! s:close_tag_table(table, ldest, header_ids) abort endif endfor if head > 0 + call add(ldest, '<thead>') for row in table[1 : head-1] if !empty(filter(row, '!empty(v:val)')) call s:close_tag_row(row, 1, ldest, a:header_ids) endif endfor + call add(ldest, '</thead>') + call add(ldest, '<tbody>') for row in table[head+1 :] call s:close_tag_row(row, 0, ldest, a:header_ids) endfor + call add(ldest, '</tbody>') else for row in table[1 :] call s:close_tag_row(row, 0, ldest, a:header_ids) diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt @@ -3672,6 +3672,7 @@ Contributors and their Github usernames in roughly chronological order: - flex (@bratekarate) - Marius Lopez (@PtitCaius) - Edward Bassett (@ebassett) + - Gaurang Kher (@gaurangkher) - Rafael Castillo (@eltrufas) - Reiner Herrmann (@reinerh) - Ryan Winograd @@ -3687,6 +3688,8 @@ http://code.google.com/p/vimwiki/issues/list. They may be accessible from https://github.com/vimwiki-backup/vimwiki/issues. New:~ + * Issue #940: Render table header inside thead element and rest under + tbody element if table header specified in wiki * PR #811: Feature: Added handling of absolute path to vimwiki (with //) * PR #919: Fix duplicate helptag * PR #907: Cycle bullets