-
-
Notifications
You must be signed in to change notification settings - Fork 8
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 Request: Live Preview Support #19
Comments
I'd love this too! |
Please! I would be very thankful. |
it used to not work after some updates a while ago. it is working for me , have you test it in live-preview? |
Not working for me either. Is this plugin dead? |
I came here hoping to comment on the fact the live preview mode doesn't work... and saw my comment from last year. Is there any chance of this getting an updated release? Or does someone know how it could be adapted? |
I was asking copilot how to modify it and it came back with this: To make this work in live edit mode, you'll need to modify the modifyOnUnloadFile function in src/bf-main.ts to handle live edit mode. Currently, it seems like the function is only handling the preview mode. You can check the mode of the current leaf using leaf.view.getViewState().mode. If the mode is 'source', then it's in live edit mode. Here's a rough idea of how you might modify the function:
I'm not sure how to go about implementing that bu maybe this will give someone a hint |
Thank you for your suggestion, Im trying to add the plugin function in preview mode, and I will attach the improved plugin to this thread. btw, which copilot is this? It looks pretty smart. |
Nice, happy to hear that might be useful. I'm not sure what I used but given that it suggested which file to edit I'm guessing it was github copilot with the @workspace command, but it's hard to say, I've experimented with these kinds of tools a fair bit in the past few months. Wish I could remember. |
Please add Live Preview support for this wonderful plugin.
Thanks
The text was updated successfully, but these errors were encountered: