cheeaun / cheeaun/phanpy

Feature Request: Enable MathJax for posts from specific instances

Open
#320 2 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

I was wondering, could we have an off-by-default option to allow MathJax rendering in posts from specific instances? For example, [Mathsodon.xyz](https://mathstodon.xyz/) renders maths in their posts such that it looks like this in their instance:
![image](https://github.com/cheeaun/phanpy/assets/6686762/6f215c8d-30fe-4681-920e-ab83aaaaf8ca)
Meanwhile, in Phanpy, it gets rendered as:
![image](https://github.com/cheeaun/phanpy/assets/6686762/9f00653a-1d82-4799-8dfd-89be1553df86)

I feel like there could be a chance of false-negatives if this was activated for all posts, so I thought that there could be an list of allowed instances that could be user editable. It's okay if this feature gets decided as too complex, I understand it would only matter for a small number of users 😅

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.