Open classicrob opened 3 years ago
Very interesting idea.
Right now, this plugin exposes the app.garbleText() function that assigns a class to the entire app-container. I'm unsure if I can replicate that on specific text.
The example seems to use a sort of spoiler class, with the text and background as the same color. That could be done. I'll look into it more. 👍
Fantastic. Please consider it more and if you need some help thinking through how to port specs over to Obsidian (it may not be as straightforward as I thought given the page vs. block hierarchy based paradigm differences) but it really makes it a LOT easier to show other people your vault without being paranoid or potentially displaying confidential information
You can also modify the builtin CSS, by providing a styles.css:
.app-container.is-text-garbled * {
font-family: 'Flow Circular', sans-serif !important;
line-height: 1.45em !important;
}
Hey moonbase,
That's exactly what I figured. I'm trying to add a tag surrounding matching regex text but I'm having some trouble and time's limited so I'm doing what I can :)
Thank you for the help!
Basically curious about rebuilding this plugin for obsidian: https://youtu.be/f1UR9dMR_k0
Textual spec written here for what I'm going for. I imagine a configuration page where I can list a bunch of strings where I want any pages or paragraphs with those strings in them garbled. https://forum.obsidian.md/t/privacy-mode-for-easily-demonstrating-a-vault-to-someone/15390