mathjax / mathjax/MathJax-demos-node

[Question] Utility API for replacing latex expressions with generated content?

Open
#38 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Question
Dominant language
JavaScript
Stars
114
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Hi,

Per this question we obtain an array of ProtoItem instances.

I take the latex in each instance and generate the corresponding SVG. So I end up with another array of SVG, where each SVG rendering matches the corresponding MathItem instance.

I was wondering if MathJax has an API for merging the generated results into the original source string?

Contributor guide

No contributing guide indexed for this repository

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 with issue #37 and the MathJax-demos-node examples that produce ProtoItem instances and SVG output. Trace how the corresponding MathItem data is represented and determine whether an existing API can merge rendered results into the source string. Done means documenting the supported utility API or clearly defining the missing API behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.