MacDownApp / MacDownApp/macdown

'expose' the various fonts of MathJAX for TeX expressions?

Open
#736 0 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 @uranusjr

First of all a big THANK YOU (& kudos!) for coming up with MacDown--discovered it just now while looking for a nice Markdown editor since Mou stopped working on Sierra!

Love the fact that you support code-snippets with the help of PrismJS & also TeX expressions using MathJAX.

However, I badly wanted to see Math expressions formatted in the classic **TeX** font. But am unable to do so. Tried tweaking/editing the `init.js` file in `Resources/MathJAX` folder in the app. But then, the rendering stops. It begins to work ONLY if/after I un-check the support for inline TeX.

But seems like support for TeX is lost permanently, even if I restore the `init.js` to its initial state.

Any help/pointers would be great!
{Like what configuration of MathJAX is being used? HTML-CSS? Where/How do I tweak the properties?}

**Note:** I am using version : `0.6.4 (786)`

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 inspecting Resources/MathJAX/init.js and the MathJAX configuration used by MacDown 0.6.4, especially the inline TeX setting and font configuration. The requested result is to expose or configure the classic TeX font while keeping inline TeX rendering working.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.