Skip to content

notebook-view.url has no effect #13694

@mcanouil

Description

@mcanouil

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!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingembedhtmlIssues with HTML and related web technology (html/css/scss/js)regressionFunctionality that used to work but now is broken.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions