Repository navigation
Description
Discussed in https://github.com/orgs/quarto-dev/discussions/13692
Originally posted by pjotrhey November 15, 2025
Description
Hi all,
Based on the documentation, it seems that when embedding an external notebook you can redirect the notebook link to any arbitrary URL using the url field in notebook-view. I’ve tried this, but it does not work for me: the link still points to the local *-preview.html file instead of the URL provided. This is my rendered result: https://pjotrhey.github.io/
Example
I have hosted a full minimal example in a repo, see: https://github.com/pjotrhey/quarto-notebook-url-error The mainfile index.qmd is:
---
title: "Notebook URL demo"
format: html
notebook-view:
- notebook: penguins.ipynb
url: "https://quarto.org"
title: "Open Quarto.org"
---
{{< embed penguins.ipynb#species-counts echo=true >}}
With this setup, the “Open notebook” link in the rendered HTML still points to the preview page (penguins-preview.html) instead of the URL specified in notebook-view.
Has anyone else run into this issue, or am I doing something (horribly) wrong?
Quartion version: 1.8.26 on Windows 11.
Thanks in advance!
Activity
mcanouil commentedon Nov 16, 2025
This is to be a long standing issue as the behaviour is the same with 1.4.557.
This was working only in 1.3 (I tested with 1.3.450) when the feature was introduced.
cderv commentedon Nov 18, 2025
Took some time but this was lost in a refactoring at faba735
quarto-cli/src/format/html/format-html-notebook-preview.ts
Lines 251 to 259 in c9008d7
We need to account for
descriptor.urlthere I thinkcderv commentedon Nov 19, 2025
This is now fixed, and we'll be in next 1.8 patch release