Skip to content

Support XDG Base directory specification #3582

Closed
@afranke

Description

@afranke

The manual currently says that if --data-dir is not specified the default value is ~/.pandoc/.

The XDG Base directory spec defines $XDG_DATA_HOME (~/.local/share by default) and Pandoc should take this into account.

For compatibility all three locations could be searched: first $XDG_DATA_HOME/pandoc/, then ~/.local/share/pandoc/ and finally ~/.pandoc/.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions