MacDownApp / MacDownApp/macdown

Make HTML template configurable

Open
#577 2 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

There has been requests being able to configure the layout. This might be a good idea. The current implementation already uses a template (Handlebars) to render the HTML document, so we just need to move the template into a file (Default.handlebars, probably), probably add a dropdown to let the user configure custom ones, like themes and styles.

Will need to think what is the best way to pass in the current style and scripts.

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 by locating the existing Handlebars HTML template and assessing how the current styles and scripts are passed into it. Determine how a Default.handlebars file and user-selectable custom templates should work; done means configurable layouts render correctly without losing the current style and script behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
handlebars
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.