MacDownApp / MacDownApp/macdown
Per-document style-sheet
Nobody has claimed this yet.
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
I've now set up a few different stylesheets that I use with different kinds of documents. For example, notes I'm writing for lectures are more tightly formatted, with a smaller font, than something I'm doing as an article. It's bit of a hassle to have to go into the prefs to switch from one to the other, so I'm requesting either:
- documents can have their own stylesheets; i.e., they can be set to over-ride the current default. This could be done by allowing the stylesheet to be set in the YAML header, for example, as pandoc does.
- Easy access to the stylesheets in the menu, instead of going into the preferences. Something like File>Stylesheet>[list of stylesheets]. Or this would be great in the toolbar.
The two are not mutually exclusive of course.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names YAML headers for per-document stylesheets and a File > Stylesheet menu or toolbar control, but it does not identify files or tests. Start by locating the existing stylesheet preference and document-loading code, then determine which of the two requested approaches is in scope. Done means a document can select its own stylesheet or stylesheets are quickly selectable, with coverage for the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, markdown, objective-c
- Domain
- design, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100