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

Proper MD support (including LaTeX markup) #410

Closed
janishutz opened this issue Dec 22, 2024 · 4 comments
Closed

Proper MD support (including LaTeX markup) #410

janishutz opened this issue Dec 22, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@janishutz
Copy link

Is your feature request related to a problem? Please describe.
There are Python libraries that provide MD conversion. I am though not sure how good GTK is at displaying maths. If it is possible, without much tinkering with GTK, could you point me to the location in the code where MD parsing is handled, so I could work on a solution myself potentially as well and open a PR. If some GTK issues need a workaround, I can sadly not help all that much, as my experience with GTK is fairly limited.

Describe the solution you'd like
Parse the output of say Mathstral to actual mathematical formulas.

Describe alternatives you've considered
Another option imo would also be to add a button that says something like "view as LaTeX PDF" and then uses some conversion algorithm to convert the normal output to LaTeX. I could work on that, but the PDF reader-part is something I don't know how to do. Well apart from opening it in an external reader

@janishutz janishutz added the enhancement New feature or request label Dec 22, 2024
@Jeffser
Copy link
Owner

Jeffser commented Dec 22, 2024

Hi, GTK uses Pango Markup, it doesn't have proper latex rendering, I've been testing different ways of rendering latex with images but that might have to wait until next year

@olumolu
Copy link
Contributor

olumolu commented Dec 23, 2024

#272
This issue is a duplicate issue

@janishutz
Copy link
Author

I did a quick search, but didn't see that one, sorry

@Jeffser
Copy link
Owner

Jeffser commented Dec 23, 2024

Don't worry, I'll close this as a duplicate but feel free to comment on the original issue

@Jeffser Jeffser closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants