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

Improve rendering of KaTex/Math text #1070

Open
Ezio-Sarthak opened this issue Jul 7, 2021 · 0 comments
Open

Improve rendering of KaTex/Math text #1070

Ezio-Sarthak opened this issue Jul 7, 2021 · 0 comments
Labels
area: message rendering enhancement New feature or request further discussion required Discuss this on #zulip-terminal on chat.zulip.org

Comments

@Ezio-Sarthak
Copy link
Member

After the merge of #1024, ZT now renders the math/katex/latex text as raw source. Although this retains the markdown information, this is ideally not the rendering a normal user would expect.

Some ideas of implementation:

  • A raw -> urwid approach might be used, wherein we convert raw source (current output) to urwid-displayable content. We currently support rendered -> urwid, and thus this might need some investigation.
  • One central aspect might be to use a Zulip-specific markdown. We can query the server if this is something that would be beneficial to have such a standardization. Once that's done, we could just grab and render the response.

Previous discussion: #zulip-terminal > Multiple Katex markups display issue

@Ezio-Sarthak Ezio-Sarthak added enhancement New feature or request further discussion required Discuss this on #zulip-terminal on chat.zulip.org area: message rendering labels Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: message rendering enhancement New feature or request further discussion required Discuss this on #zulip-terminal on chat.zulip.org
Projects
None yet
Development

No branches or pull requests

1 participant