title: "Using kableExtra in Bookdown" author: "Hao Zhu" date: "2018-10-23" site: bookdown::bookdown_site documentclass: book bibliography: [book.bib, packages.bib] biblio-style: apalike link-citations: yes description: "This example provides documentations for using kableExtra to customize tables in bookdown projects. "
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.
This book is hosted at https://haozhu233.github.io/kableExtra/bookdown/index.html
You can download PDF & EPUB to see the results of kableExtra in those formats using the same code.
You can find the source code for this project at https://github.com/haozhu233/kableExtra/tree/master/docs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.