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

Katex math block support #5

Open
amzon-ex opened this issue Aug 20, 2022 · 5 comments
Open

Katex math block support #5

amzon-ex opened this issue Aug 20, 2022 · 5 comments

Comments

@amzon-ex
Copy link

Hi, thanks for making this excellent little tool.

It seems like this feature does not work with Katex blocks. Both the "mark active line" and "focus line in editor" features that is.

When the cursor is on the equation in the editor, the preceding paragraph gets highlighted.
When double-clicking on the rendered Katex block in the viewer, the focus is shifted right to the beginning of the document, which is a little jarring, to be honest.

Is this a bug, or are Katex blocks not supported yet?

@ylc395
Copy link
Owner

ylc395 commented Aug 25, 2022

Katex / Table / Code blocks are not supported yet.

@amzon-ex
Copy link
Author

Katex / Table / Code blocks are not supported yet.

I see. Do you plan to add support for these? It would be a great addition, in any case, considering

When double-clicking on the rendered Katex block in the viewer, the focus is shifted right to the beginning of the document, which is a little jarring, to be honest.

this behaviour, which often disrupts the flow of work.

@ylc395
Copy link
Owner

ylc395 commented Aug 29, 2022

When double-clicking on the rendered Katex block in the viewer, the focus is shifted right to the beginning of the document, which is a little jarring, to be honest.

Fixed in 2.0.5

@amzon-ex
Copy link
Author

Fixed in 2.0.5

Excellent, thanks!

Btw, should this issue be kept open till math support arrives?

@ylc395
Copy link
Owner

ylc395 commented Aug 30, 2022

Feel free to keep this issue open.

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