-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Lost CSS preview rendering #61
Comments
Thanks for getting in touch! I just added a proper note to the 0.8.0 release:
Maybe we can add something like that in the future again, but will have to work with pandoc's document-css (which we'd need to parse properly) or work with pandoc's default files. So yes, that feature was removed for now, sorry! I also just checked the electron-updater package for a way to be disable the auto-update, but I think I'll have to implement that myself (and haven't done so yet in 0.8.0)... so besides blocking the app from accessing the internet, I'm afraid it will probably auto-update all the time... I'll try to come up with a fix for these issues shortly! |
Hi Mauro, thanks for your answer. I'm sorry to hear that the ability to read external user-customizable css files has been removed purposedly. |
I'll add some way of doing it back, but I wasn't sure what the best way was. I've pushed a commit to the default-css branch (not very well tested yet), which allows you to place e.g.
in the file |
Hi Mauro, it's very kind of you. I will surely give it a try and let you know. |
I did some more testing and seemed fine, so just did a new release with this. Let me know if you find any bugs, thanks! |
Hello and thanks for this beautiful piece of software. I’m using it for my documents and I like the idea to keep content and styling separated.
But from version 0.8.0 my files with a yaml header that recalls a css file are not working anymore.
Example:
My yaml header is something like this:
Then I have a css file called doc.css in the PanWriterUserData folder which applies the style rules for the document in the preview.
From version 0.8.0 this is not working. I’m running Panwriter on a MacBook with Big Sur OS.
By the way, I downgraded to version 0.7.2 but it keeps to automatically update to 0.8.0 every time I launch the app. Anyone can tell how to prevent it from updating?
Thanks a lot!
The text was updated successfully, but these errors were encountered: