Conversation
No problem! Late is better than never!
My first impression is that what you've implemented should work fine. We might improve it later if we find that necessary.
Sounds like a good approach! 👍🏻
Definitely! |
lervag
left a comment
There was a problem hiding this comment.
I think the code looks more or less good; I only had minor comments. But I think we should also as a minimum add some documentation that explains what this does. E.g. here:
Lines 105 to 132 in 28eda7d
I think we need to explain the possible option values, as well as what the effects are.
Finally, if possible we should add some tests. That's a nice to have, though - so if you don't want to go there I can look into that myself.
|
Hey, I added some simple tests and found also found and fixed a small bug in the process. |
|
Great, thanks! I'm merging this now. Thanks for the contribution! |
|
Note, by the way, I made some small changes. The most important one is that I want to use consistent casing; I use snake case, not camel case. |
|
Sorry, I have a couple of follow-up questions: With
|
|
Ok, I've worked through this now and I think the current version should be much better. Please test and let me know what you think. The main changes:
|
|
Not involved in the PR but I read through this thread. Really cool that it works both ways now! What you wrote in the 2 previous comments makes much sense IMO. Thank you for putting effort into this even though (afaik) you don't use the feature yourself. |
|
Thanks for the kind words! |
Hi, im sorry for being super inactive on this issue.
I cleaned up my fork and implemented almost everything mentioned in issue: #74
The only thing im not sure about is the mention of the preamble options. Thats a feature of apy i havent used and so i was not sure how i should implement that. I added the config options with the apropiate default though.
The '$$'/'$' couldn't be parsed easily with text.replace, so i just manually split the text, into latex/markdown parts.
I hope this is useful after being inactive for so long :)