Possible to make a book from jupyter notebooks? #2458
-
Can you have chapters that are .ipynb files and not .qmd files for books? I tried the mybook tutorial, replacing all of the .qmd files with .ipynb equivalents to test, and changed the _quarto.yml file like below. There were no errors in the render, but the .ipynb files were converted to .py, and none of the content showed on the website preview. Am I missing something? thanks! project:
type: book
book:
title: "title"
author: "Jane Doe"
date: "now"
chapters:
- index.ipynb
- intro.ipynb
- summary.ipynb
- references.ipynb
bibliography: references.bib
format:
html:
theme: cosmo
pdf:
documentclass: scrreprt |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes that should work without any issue. For example, I just replaced the
|
Beta Was this translation helpful? Give feedback.
Yes that should work without any issue. For example, I just replaced the
intro.qmd
withintro.ipynb
(with a single markdown cell which contained the contents of the qmd file) in the default book project and rendered no problem: