MacDownApp / MacDownApp/macdown

Filename of the HTML Export different than the <title>

Open
#874 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

It would be useful to have the title of exported HTML document the same as the `

` of the document, but the filename to be the slugified version of the `

`. For the filenames to be URL-friendly, it is best to have everything lowercase, dashes instead of spaces and punctuation, and no diacritical symbols.

At least there could be a separate field for the HTML `` in the export function.

Contributor guide

Open the contributing guide

Research direction

Locate the HTML export function and trace how the document title and output filename are currently chosen. Confirm that the HTML matches the document’s <h1>, while the filename is a lowercase, dash-separated, punctuation-free slug without diacritics; add coverage for these cases if the export tests are found.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, macos, markdown
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.