MacDownApp / MacDownApp/macdown

Export PDF - selected directory based on last saved file and not on current one

Open
#214 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

If I save one *.md file, open another one and select "Export PDF", the directory of the last saved Markdown file is selected as export directory. Please default to the directory of the currently opened file, otherwise it is really annoying to work with and export multiple Markdown files in parallel.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Export PDF action and trace how its destination directory is chosen after saving and opening Markdown files. Reproduce the sequence described in the issue, then verify that exporting uses the directory of the currently opened file rather than the last saved file.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
desktop
Issue type
Bug
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.