nbviewer icon indicating copy to clipboard operation
nbviewer copied to clipboard

Browser title support

Open joonro opened this issue 12 years ago • 7 comments

It would be great if nbviewer gets the title of notebook and use it as the html title. Currently if I bookmark a nbviewer page the url becomes the name of the page.

joonro avatar Jun 30 '13 19:06 joonro

:+1: It would be nice if the title was formatted like NbViewer - Notebook Title. This seems like something pretty simple to add on to nbviewer - it would make for a great pull request!

rgbkrk avatar Dec 19 '13 04:12 rgbkrk

I looked at this. As far as I see, the notebook json has no meta title, am I missing something? An alternative would be using the file name of the url striped of the extension.

yaph avatar Jan 08 '14 13:01 yaph

Another option is to search for the first title in a Markdown cell and use that.

But even making the title nothing more than nbviewer -- A simple way to share Jupyter Notebooks would be an improvement. Probably the easiest, though, is to use the URL stripped of the domain, e.g. nbviewer -- gist/brettcannon/3e40637ab25761836b89 as that can be done entirely client-side if necessary.

brettcannon avatar Aug 10 '15 18:08 brettcannon

Looks like a name is generated in render.py. Could probably pass that down through the config for title.

brettcannon avatar Aug 10 '15 18:08 brettcannon

👍 This would be great.

AlexNisnevich avatar Aug 12 '16 19:08 AlexNisnevich

+1 This would be great. I frequently send long notebooks to my Kindle (there's a extension for that). Problem is the title on kindle is taken from html document title, so not of great help. I'm actually changing it before , ex (for github): javascript:document.title="Jupyter:"+$(".breadcrumb li a").text();false;

rquintino avatar May 18 '17 09:05 rquintino

#164 "NBViewer missing page title / meta description" has a bit more context for work on this issue. Is this a duplicate of #164?

westurner avatar Jan 24 '19 09:01 westurner