@@ -3395,7 +3395,8 @@ environment variable.
33953395
33963396### directory (filepath) {#pandoc.path.directory}
33973397
3398−Get the directory name; move up one level.
3398+Gets the directory name, i.e., removes the last directory
3399+separator and everything after from the given path.
33993400
34003401Parameters:
34013402
@@ -3489,8 +3490,10 @@ Returns:
34893490
34903491Normalizes a path.
34913492
3492−- `//` outside of the drive can be made blank
3493−- `/` becomes the `path.separator`
3493+- `//` makes sense only as part of a (Windows) network drive;
3494+ elsewhere, multiple slashes are reduced to a single
3495+ `path.separator` (platform dependent).
3496+- `/` becomes `path.separator` (platform dependent)
34943497- `./` -\> ''
34953498- an empty path becomes `.`
34963499