MacDownApp / MacDownApp/macdown

Support '% My Title' as visible title

Open
#391 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

Hi and thanks for a great work!
It's often important to give a title to a document, and have it displayed on the document's body.
Yes, all kinds of metadata may be desirable, but most of those can be included at text level, whereas the title should be visually more conspicuous than a h1.
Some extensions to markdown provide ways to specify a title, such as
% My Title Here
Could MacDown support that? It should set the html>head>title tag and show the title in a h1, preferably with larger type than th eother h1s.
Thanks!
It's often important to give a title to a document, and have it displayed on the document's body.
Yes, all kinds of metadata may be desirable, but most of those can be included at text level, whereas the title should be visually more conspicuous than a h1.
Some extensions to markdown provide ways to specify a title, such as
% My Title Here
Could MacDown support that? It should set the html>head>title tag and show the title in a h1, preferably with larger type than the other h1s.
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 Markdown-to-HTML parsing and document-rendering entry points; the issue names no files or tests. Verify how a leading "% My Title Here" is currently handled, then define done as setting the HTML head title and displaying a visually distinct body heading without changing ordinary headings.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, markdown, objective-c
Domain
desktop, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.