Comments (6)
The host application and the extension share preferences, however the extension loads them at startup and no longer updates them until your process is terminated. So if you keep the ql markdown preview open or if you continue to view other .md files in quick succession the extension is not released and therefore the preferences are not updated.
I don't know if it is appropriate to force the loading of preferences every time a file is read (with a performance penalty) or to keep things like this.
from qlmarkdown.
this is not an important issue, Live update is required while creating theme (while writing css). The changes I made in "custom.css" appear instantly with the refresh button.
from qlmarkdown.
Yes, because the css file is reload every time.
from qlmarkdown.
I don't know if it is appropriate to force the loading of preferences every time a file is read
You could also place an empty file in the shared group directory. And only check whether the file exists on every parse. If the file exists, reload the preferences and delete the temporary file.
(Unless there is a way to directly communicate with the extension. Idk. e.g. the network extension has an API to send data from the host app to the extension. Maybe there is a similar method for QL extensions?)
from qlmarkdown.
In next release I use a message notification to force the settings refresh.
from qlmarkdown.
Fixed in 1.0b7.
from qlmarkdown.
Related Issues (20)
- Scrolling neither working by trackpad nor scrollbar HOT 16
- Cask 'sbarex-qlmarkdown' is unavailable HOT 5
- Add support for .qmd (Quarto) file types HOT 13
- Errors building from source HOT 3
- Warning that 'application needs to be updated' HOT 3
- Option to simply get raw text preview? HOT 2
- Sometimes cannot select text in quicklook window
- Math equation HOT 3
- How to speed up rendering of preview? HOT 1
- Option to disable page border HOT 3
- How can you open markdown files without the .md extension?
- Can not use Quick Look HOT 2
- Feature Request: Rendering .rst files as well? HOT 2
- Background flashes white before turning black (in dark mode) HOT 2
- Not working on Monterey HOT 5
- Cannot render escaped $ symbol when I turn on Math extension HOT 1
- The title of the exported HTML document is always `.md` HOT 2
- Although QLMarkdown.app can open the .md file, it does not appear in the "Open With" menu. HOT 3
- Remove border around page content in Finder preview/exported HTML file? HOT 1
- another UTI associated to .md files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qlmarkdown.