-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature Requests #4
Comments
Thank you very much for your kind words :D !
You mean more than just the suggestions that it already provides? There was a built in autocompletion option to get already written text as suggestions but I scrapped it because it provided useless results that where accidentally selected on enter. It would be awesome to have an emmet implementation where, if you have a mistake that will prevent the document from compiling, an error mark would appear at the specific line left margin, but this will be a pain to implement and I have some more pressing issues in mind. If you are familiar with Ace Editor and Emmet you are welcome to implement it and submit a pull request! In case I am off-topic tell me.
Well I tried to give native support in Quill for tex ($ and $$) but I was unsuccessful, so I rewritten the formula blot. I am not familiar with Parchment (the model Quill uses in the back) and I had a really hard time understanding it so I ended up with this solution. In general I use quill.deltas for the editor contents and not html and I could not change on $ press or on $$ press the content of the delta into a formula key with the insides as value. In theory it can be done but it requires knowledge of Parchment which I do not have.
You mean with the math editor? Like an svg/png file or base64 string? You lost me here :P |
OK so I managed to find a way to change the suggestions (but I could not add all of them). I also tried to make them somewhat intuitive, meaning that when you type \equation you get the snippet of \begin{equation} ... \end{equation} or some mathematical symbol snippets to appear like we call them, for example \muchgreaterthan translates to \gg which is >>. The work is not complete but if you or someone else have the time it would be really awesome to add more. On to your third request! For the second I really tried but quilljs is so tightly written that I cannot understand how to implement it (but I would really love to). |
Nice! I wish I could assist but I'm really busy these days.. :/ You're doing an amazing job tho! :) |
Thank you very much I am glad you like the project! Thanks for filing the issue as well I was never going to improve the snippets if it wasn't for you 👍 |
No probs, glad I could help! :) |
Nice, a sexy Latex editor!
Thank you, the world does indeed desperately need one :)
A few ideas, I'd like to run by you:
$\latex$
in the simple editor (without pressing the button)Great program, regardless! :)
The text was updated successfully, but these errors were encountered: