Comments (6)
I will consider this as "alternative mode", e.g. with a different template identifier -> :lookup_handlebars
?
from logseq-dynamic-lookup.
Some thoughts / notes:
- moustache has
{{ }}
as delimiters, same as the placeholders in logseq. Need to check if the arguments can be quoted reliably, or escaped otherwise. - currently I retrieve the page properties, nothing else. This needs to be extended, e.g. to support the page metadata retrieval. There might be an ultimately more performant way to do that than the advanced query used now.
from logseq-dynamic-lookup.
- Mustache just an example of idea. May there is another template-language without quoting problems.
- May be you could add a page name to context? It may be taken from renderer params
from logseq-dynamic-lookup.
I'm considering other languages or to create a very basic expression "language" myself.
I'm also considering a way to get and expose the properties in a way that looks natural to Logseq (or maybe it's source code).
Adding the "target" renderer parameter as variable is a good idea either way, could be useful for fallback expressions too.
Either way, I should find some time to work on this before the end of this year.
from logseq-dynamic-lookup.
Sounds very interesting 🔥
from logseq-dynamic-lookup.
Hi, @peanball !
Since that time I've created 🏛 Full House Templates
plugin which completely covers my request.
Take a look — you may like it ❤️
from logseq-dynamic-lookup.
Related Issues (3)
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 logseq-dynamic-lookup.