Description
When markdown files containing LaTeX equations (enclosed in $...$ or $$...$$) are viewed in OpenFang's web dashboard or embedded views, the mathematical notation does not render. The raw LaTeX code is displayed as plain text instead.
Example
Expected: Properly formatted mathematical equation
Actual: Raw text $$T = 2\pi \sqrt{\frac{I}{mgh}}$$ displayed
Cause
OpenFang's markdown viewer does not include a LaTeX rendering library (KaTeX or MathJax). When .md files containing math expressions are displayed in the dashboard or embedded views, the raw LaTeX source is shown as plain text instead of rendered equations.
Request
Consider one of the following solutions:
- Use images — Replace inline math with pre-rendered images of equations
- Use Unicode math — Replace LaTeX with Unicode symbols (e.g., √, π, α, β)
- Add client-side rendering — Embed KaTeX/MathJax via GitHub Pages or browser extension
- Document limitation — Add a note to contribution guidelines that equations must be submitted as images or Unicode
Expected Behavior
The latex math should have been rendered correctly.
Steps to Reproduce
Ask the following question from openfang
"to determine the acceleration due to gravity using a bar pendulum"
OpenFang Version
0.6.4
Operating System
Linux (x86_64)
Description
When markdown files containing LaTeX equations (enclosed in
$...$or$$...$$) are viewed in OpenFang's web dashboard or embedded views, the mathematical notation does not render. The raw LaTeX code is displayed as plain text instead.Example
Expected: Properly formatted mathematical equation
Actual: Raw text
$$T = 2\pi \sqrt{\frac{I}{mgh}}$$displayedCause
OpenFang's markdown viewer does not include a LaTeX rendering library (KaTeX or MathJax). When .md files containing math expressions are displayed in the dashboard or embedded views, the raw LaTeX source is shown as plain text instead of rendered equations.
Request
Consider one of the following solutions:
Expected Behavior
The latex math should have been rendered correctly.
Steps to Reproduce
Ask the following question from openfang
"to determine the acceleration due to gravity using a bar pendulum"
OpenFang Version
0.6.4
Operating System
Linux (x86_64)