10000 links across notebooks · Issue #3056 · ipython/ipython · GitHub
[go: up one dir, main page]

Skip to content
links across notebooks #3056
Closed
Closed
@ivanov

Description

@ivanov

This has been discussed in person (and perhaps in places on list), but I wanted to open an issue for it separately.

@gvwilson (Greg Wilson) just mentioned this again in a software-carpentry list email,

  • What's the right way to link from one notebook to another? A
    Markdown URL of the form:

    displayed text

    doesn't work, even when otherfile.ipynb is in the same directory.

@jiffyclub (Matt Davis), on 2013-03-22 19:21, replied :

No can do. The URL of a notebook is set to a hash when you
start it, it'll be random every time. There's also the issue
that Notebooks aren't static, this is a web app. Opening a
notebook requires starting a new Python process, not just
opening and rendering the page.

This is true, currently, but may change in the future -- I have
been trying to push for this sort of thing on the IPython side -
for precisely this kind of use case.

another use case Greg mentioned is the same thing for cell anchors:

  • Up near the top of the file, you'll see the words "design pattern"
    formatted as a link. Right now, the URL in thatl link is
    "glossary.ipynb#design-pattern", i.e., the glossary's definition
    of the term. I could use "glossary.html#design-pattern" instead,
    but I'm curious whether I can/should use a Notebook for the glossary
    to ensure uniform styling with minimal effort, and if so, how I link
    from a notebook to a target in another notebook.

fixing this issue would make something like #1692 more useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0