Pluto: Get current notebook file path

You can use the @__FILE__ macro and remove the trailing characters after the #==#<...>. By doing something like:

notebookpath() = replace(@__FILE__, r"#==#.*" => "")