focalboard
focalboard copied to clipboard
[GH-1509] Add support for Latex rendering in markdown cells
This adds support for displaying inline and displayed Latex equations using Katex in markdown cells, fixing #1509.
The conversion happens before each paragraph is converted from markdown to HTML. At the moment, any parsing error thrown by KaTeX is caught and the chunk ignored. In other words, the following $\thisisinvalid$
will render as-is, including the surrounding $
.
Demonstration
Markdown editor
Automatic rendering when leaving the editor
Hello @cphyc,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla
and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.
/check-cla
@cphyc We are evaluating how is the best way to handled this. sorry for the delay answering, but let me think a bit more about it and we can decide if we merge it or try to incorporate the existing code from mattermost.
This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook
Sorry, I still have to take a look into this.
Any news on this front?
Hi, this has been almost a year. Is there any hope of getting this merged or should I close the PR?