MacDownApp / MacDownApp/macdown

Equation numbering support

Open
#424 9 comments 9 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

As we know, MacDown can render math equations by [MathJax](https://www.mathjax.org/). However, numbering of equations is not supported by default.

One hack way suggested by TP is to add the following code at the beginning of the Markdown document:

``` html

MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});

```

But it's better if we can configure that in the preference pane.

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 MathJax configuration and the macOS preference pane. Check how the embedded equation-rendering settings are passed to MathJax, then determine how a preference for equation numbering should be represented. Done means the preference controls numbering without requiring a script in each Markdown document.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, objective-c
Domain
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.