Hao Zhu | c145088 | 2018-10-03 17:56:26 -0400 | [diff] [blame] | 1 | --- |
Hao Zhu | c859dba | 2018-10-03 18:05:55 -0400 | [diff] [blame] | 2 | title: "Using kableExtra in Bookdown" |
Hao Zhu | c145088 | 2018-10-03 17:56:26 -0400 | [diff] [blame] | 3 | author: "Hao Zhu" |
| 4 | date: "`r Sys.Date()`" |
| 5 | site: bookdown::bookdown_site |
| 6 | documentclass: book |
| 7 | bibliography: [book.bib, packages.bib] |
| 8 | biblio-style: apalike |
| 9 | link-citations: yes |
| 10 | description: "This example provides documentations for using kableExtra to customize tables in bookdown projects. " |
| 11 | --- |
| 12 | |
| 13 | # Introduction |
| 14 | |
| 15 | If you have tried to use `kableExtra` in a `bookdown` project with mutltiple formats, you may have experienced some problems. For example, you might not be able to render HTML and PDF tables at the same time using the same piece of code. At the same time, you might start to wonder if it's possible to create `bootstrap` style tables in `gitbook`. I will try to address these issues using this example. |
| 16 | |
Hao Zhu | 6844920 | 2018-10-16 16:01:19 -0400 | [diff] [blame] | 17 | This book is hosted at https://haozhu233.github.io/kableExtra/bookdown/index.html |
Hao Zhu | c145088 | 2018-10-03 17:56:26 -0400 | [diff] [blame] | 18 | |
Hao Zhu | c859dba | 2018-10-03 18:05:55 -0400 | [diff] [blame] | 19 | You can download PDF & EPUB to see the results of kableExtra in those formats using the same code. |
| 20 | |
Hao Zhu | c145088 | 2018-10-03 17:56:26 -0400 | [diff] [blame] | 21 | You can find the source code for this project at https://github.com/haozhu233/kableExtra/tree/master/docs. |