meteorlxy / vssue

:mailbox: A Vue-powered Issue-based Comment Plugin
https://vssue.js.org
MIT License
775 stars 105 forks source link

[Feature Request] MathJax rendering #160

Open xldrkp opened 2 years ago

xldrkp commented 2 years ago

What problem does the feature solve?

Whereas GitHub renders standard MathJax markup of a Vssue comment correctly, Vssue doesn't itself in the thread. Thus the request is to render MathJax markup with Vssue.

Proposed solution

Add an option to configuration in order to switch on MathJax rendering.

Screenshots

image

This is what comes back from GitHub after the comment has been entered.

xldrkp commented 2 years ago

After some deep diving into the code and making use of vue-mathjax I managed to solve this myself.