Skip to content

Commit

Permalink
Merge pull request #48 from MarcioFCMartins/MarcioFCMartins-table_cap…
Browse files Browse the repository at this point in the history
…tion

Format table caption styles
  • Loading branch information
jjallaire committed Oct 11, 2018
2 parents 6a441ec + 2fb4f06 commit aa41fff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/rmarkdown/templates/radix_article/resources/distill.html
Expand Up @@ -831,8 +831,8 @@
$('tr.header').parent('thead').parent('table').addClass('pandoc-table');
$('.kable-table').children('table').addClass('pandoc-table');

// add figcaption style to pandoc-table captions
$('.pandoc-table>caption').addClass("figcaption");
// add figcaption style to table captions
$('caption').parent('table').addClass("figcaption");

// initialize posts list
if (window.init_posts_list)
Expand Down

0 comments on commit aa41fff

Please sign in to comment.