Skip to content

information on current notebook filename? #25

@jhconning

Description

@jhconning

Does watermark include an option to include the notebook filename in the watermark magic output? I could not find such an option in the documentation.

If this is not currently possible, it would be an extremely useful feature to add.

By default a notebook printed out using the _File _PrintPreview option does not print the filename in the header or footer. I was looking at printouts from a couple weeks ago and watermark provides details about the hardware/software environment and date/time printed, but no an answer to the all important question of the name of the notebook, to know what file to return to.

From this stackoverflow discussion there seem to be ways to have the filename printed in a cell but none of the proposed solutions are compact or elegant. So it would be great if watermark could do the work behind the scenes.

Thanks for a great tool that I use daily.

**update: ** the jupyter notebook contributors appear to be discussing a similar issue jupyter/notebook#1000

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions