Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latex output in term descriptions not rendering properly #91

Open
martinamorris opened this issue Jul 16, 2024 · 1 comment
Open

latex output in term descriptions not rendering properly #91

martinamorris opened this issue Jul 16, 2024 · 1 comment

Comments

@martinamorris
Copy link
Member

@mbojan do you know if there's a simple fix in rShiny for this? Example below.

image

@mbojan
Copy link
Member

mbojan commented Jul 17, 2024

Was it working before?

As far as I can tell it's not an easy fix because the entire term-searching technology we have drifted away from the objects used for that purpose in base R so existing functions that turn documentation to HTML (including math) are not working. Currently statnetWeb has own rudimentary formatting for this purpose. An elusive hack that comes to my mind is to have StatnetWeb convert the equations to something Shiny/MathJax understand (at this moment they use a different syntax) and render them through Shiny engine as Markdown content. Using tricks from these posts:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants