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
Any way to render but keep the original block contents? #1
Comments
Hello! Thank you for response and feedback! It is really important to me. Quick response: It is a bug I'm aware of and will be fixed at the very next version. |
@Gitbreast check v1.3.0 |
@stdword It seems not work. Honestly, even worse for me🤣 OS: MacOS Lastest My template: |
Wow! I need to say sorry for misunderstanding.
And fix another case: clearing block content when inserting renderer command, not a rendering template. → reopen for now |
🎉 This issue has been resolved in version 1.4.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Now it works as you expect: demo.mp4 |
@stdword Cool! Thanks for the work! I already tested it, it works well now, also with macros. Another question: Is it possible or a good idea to hide it in Logseq template menu? A setting to switch, or use different property name like “ Because of the variables, these “enhanced templates" almost won’t be used in sys-template menu. With time passed, a predictable situation is, normal templates will mix up with them and hard to be pick out. |
You prev question:
I guess this is Logseq bug with load/reload mechanics of plugins. I face it every day during development. But my investigation give no results on how to fix / hack / avoid it for now 😢
Mixing up with native templates very likely, yes. I have several ideas to solve it:
How do you think will these features help in scenario you've provided? |
@stdword WOW sounds great and exciting.
|
@Gitbreast I've add your wiki EN case to 🏛 Showcases and release new feature for it: check it out in args.mp4 |
Sure 😎
Technically — absolutely not complex. The main caveats here is product design of the feature. I guess I'll come to community and users of
They will be very similar to
I'll check this case later 👌 |
@stdword The arguments feature is a great idea. |
You've faced with known bug, one more time)
This is true:
As of for now page arg should be specified (with «—» to skip or in full page-ref form) every time you want to send an argument to template. But I don't like this behaviour too. I will think on ways to get off the ambiguity. PS and again — thank you so much for a feedback 🙏💜 |
@stdword hi, again!
I promised to return to this point and now it fixed with the last version of Also note a new big feature — |
@stdword Take me some time to test it. It works well now. Seems like while copying a block ref, Logseq will give a hidden block property Take a while to notice that |
Yes! And exactly the same
Just to clarify your case: Do you copy it to |
@stdword Yes. I use it like this.
My template blocks, no need to add properties to parent blocks now: |
Looking for a quick way to insert a wiki link using the current page name, first I consider
logseq-powerblocks-plugin
then cannibalox in forum recommend this.Then I experience this powerful plugin, it deal with the variable such as page name perfectly.But while I use it in page property block, I realize it renders after clearing the original content of the block. That means it can't be use in a block that has any content. I think this would cause a big limit to its powerful feature.
So I think is it any way to add the template content but do not clear or replace the original content, just like
logseq-powerblocks-plugin
?Discussion: https://discuss.logseq.com/t/any-way-to-get-variables-value-in-custom-commands/15994/1
The text was updated successfully, but these errors were encountered: