Hidden block or hidden text

Hi everyone,

I’ve been using Logseq for several weeks, and I’m missing one particular feature: hidden text.

We already have code blocks where we can input commands and a copy-code-block plugin, which is very useful to use together. However, in some cases, I’d like the text in a code block to be hidden. For example, when I’m sharing my screen with someone outside my team.

Is there a way to achieve this? If not, could someone help me write a plugin for this? Perhaps you could create a basic template for me to build on, and I’ll try to implement it myself.

  • The standard way of hiding blocks is by collapsing them.
  • But to hide text within a block, a custom way is needed.
    • e.g. through a custom macro (see Hide part of text)
    • There is a question though: Should the text be revealed again when needed? And how?

Hi mentaloid,
Thank you for help! I’d like to see some thing like enter password input with button “show password”

Such a feature is composite-enough to need your own implementation. Chances are that you will find kits helpful.

Hi mentaloid,
I found the plugin “PrivacyMode.” It covers almost all my requirements, so I’ll use it.
Thank you for your support!