MacDownApp / MacDownApp/macdown
Font of code blocks can't be changed
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
One can change the size and type of the font for inline code with the css sheet, but, for **code blocks**, one can only change the size. _font-family_ is not taken into account, and the font always remains Monaco (or Andale Mono)
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
No source file or test is named. Start by locating the CSS rules used for inline code and code blocks in MacDown, then compare how font-size and font-family are applied. Done means the code-block font-family can be changed through the CSS sheet instead of remaining fixed to Monaco or Andale Mono.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, markdown
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100