MacDownApp / MacDownApp/macdown

How about making the template to export html configurable

Open
#299 4 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

I use macdown to write my blog (Write in md and export as html to post on my static server) and it is very easy to use, but the problem is the html generated is not friendly for mobile it does not add something like the following to make it is readable in mobile:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

So, I just wonder whether it is possible to make the template that is used to generate the html configurable (like CSS) so that I can just modify the template file to change it to what I want.

Thanks!

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 MacDown’s HTML export path and the existing CSS customization mechanism. Determine how an export template could be selected or edited by users, then verify that the generated HTML can include the requested mobile viewport metadata and remains compatible with normal exports.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
content, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.