nbviewer
nbviewer copied to clipboard
Browser title support
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.
:+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!
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.
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.
Looks like a name is generated in render.py. Could probably pass that down through the config for title
.
👍 This would be great.
+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;
#164 "NBViewer missing page title / meta description" has a bit more context for work on this issue. Is this a duplicate of #164?