If you're planning to create a book using R and Quarto, this template would be an excellent choice. It's fully featured and easily customizable, meeting a wide range of formatting needs from text editing to chart insertion. Whether you're an author in data science, academic research, or any other field, this template can make the process of producing your book smoother and more efficient.
-
Click the "Use this template" button to create a new project based on the template. 📚
-
Clone or download the new project to your local environment. 📁
-
Open the project folder and modify
custom.scss
and_quarto.yml
as needed. Use thefonts
folder to store fonts for local PDF generation. Adjustpublish.yml
in the.github
folder as necessary. Add required R/Python packages inrequirements.txt
if your book requires code execution. Replaceanalysis.png
andcover.png
with your preferred images. 🛠️ -
Manage Quarto extensions with
quarto install
andquarto uninstall
commands in the terminal. 🔧 -
Generate your book by running the
quarto render
command in the terminal. 🖨️ -
After making necessary changes, commit your project updates to your GitHub repository. 🌐
-
Publish your book to GitHub Pages by running
quarto publish gh-pages
in the terminal. 🚀 -
You're now ready to happily edit your
.qmd
files. ✍️ -
Once editing is complete, update the chapter information in
_quarto.yml
and commit these changes. 📝 -
Push the changes to GitHub with the Git commands
git add .
,git commit -m "commit message"
, andgit push
. 💾
If you like it, please give it a star💖