Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.

How to handle katex errors. #30

Open
sabadoryo opened this issue Sep 27, 2020 · 2 comments
Open

How to handle katex errors. #30

sabadoryo opened this issue Sep 27, 2020 · 2 comments

Comments

@sabadoryo
Copy link

sabadoryo commented Sep 27, 2020

How can I handle errors which are throwing to console by katex itself? I want to show this error messages in my vue component directly to users.
Example:
image

To render latex I am using:
<div v-katex:auto="{options}" :key="item.text">.... </div>

@sabadoryo sabadoryo changed the title Hi How to handle katex errors. Sep 27, 2020
@tuanalumi
Copy link

Why is this closed? Do you find the solution @sabadoryo ?

@lucpotage
Copy link
Owner

Indeed, I think we can do better. I wanted to update the plugin for Vue 3 and keep compatibility with Vue 2 as well. I will add this feature that is handy. I cannot commit to a date. For specific use of katex, it's also possible to create your own component, this lib being a very light wrapper around the original katex library.

@lucpotage lucpotage reopened this Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants