Add KaTex math rendering
Add KaTex javascript, CSS, and fonts to vendor folder. Create a renderMath() function that parses sanitized markdown for math as denoted by '$$' Modify ctrl.$render to first sanitize the markdown and then renderMath. Newly rendered math is then trusted as HTML becuase otherwise ngSanatize removes crucial style attributes that leave the math unreadable.
Showing
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment