donnemartin / donnemartin/dev-setup
Issue : Inconsistent file extension for exporters
Open
- Dominant language
- Python
- Stars
- 6.3k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
The file_extension attribute in HTMLExporter, LatexExporter, and MarkdownExporter is set to 'txt'. Given that these exporters generate HTML, LaTeX, and Markdown files respectively, the file extension should reflect the output format. This inconsistency can lead to confusion and incorrect file handling by users. It would be more appropriate for the HTML exporter to have a .html file extension, .tex for latex and .md for markdown.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.