If i start a new notebook, start adding cells, change the title and then hit publish the url I get is untitled with an index I guess of my total untitled notebook: https://beta.observablehq.com/@adidi/untitled/10.
only if i change the title on the start and then hit publish I get the right url (derives from my title)
One more thing, in my public list (from header menu → Notebooks → public) I always see “untitled” in the title section of the notebook even though I got different url with the correct title
Looks like these notebooks have the title in a cell at the bottom. Observable takes the title from a cell that’s
Markdown
The first cell in the notebook
If you can keep the first cell the title by clicking the + below the first cell instead of above, or moving the cells, or using option-enter to add cells below the first cell instead of above, then the title detection should work properly.
add a cell right above the md cell (md cell is still last)
The md cell needs to be first, not last - it needs to be at the top, not the bottom. For example, most of the featured notebooks you’ll see have the title at the top.
This is why it worked me if i set it on the beginning.
Can you answer me about the other problem? in my public notebooks list (menu → notebooks → public)
I always see untitled as the title of the notebook even though they have different one
Sure, that’s the same issue - if the title is detected, it both sets the URL and shows up in the notebook listing: your last notebook that includes a title at the top also has its correct title included: