No description
Find a file
2022-07-30 16:58:55 +02:00
images docs: describe the plugin 2021-04-03 17:52:15 +02:00
operations refactor: remove typo 2021-04-24 13:37:26 +02:00
.gitignore Initial commit 2021-04-01 21:18:14 +02:00
CHANGELOG.md chore(release): 1.6.0 2022-07-30 16:58:55 +02:00
data.json feat: support boolean values in frontmatter 2021-07-27 08:12:32 +02:00
main.ts feat: highlight header and content 2022-07-30 16:57:47 +02:00
manifest.json chore(release): 1.6.0 2022-07-30 16:58:55 +02:00
package.json chore(release): 1.6.0 2022-07-30 16:58:55 +02:00
README.md docs(readme): clarify when the plugin checks notes 2021-07-27 08:47:18 +02:00
rollup.config.js Initial commit 2021-04-01 21:18:14 +02:00
styles.css feat: highlight header and content 2022-07-30 16:57:47 +02:00
tsconfig.json Initial commit 2021-04-01 21:18:14 +02:00
versions.json feat: initial version 2021-04-03 16:40:43 +02:00

highlight public notes

This plugin for Obsidian highlights the titlebar of notes that you classify as public in the frontmatter or that is contained in a specific folder. This prevents you from writing confidential data into notes you later publish e.g. through a script.

screenshot-full

Usage

After enabling the plugin in the settings menu, configure if you want to highlight notes in a specific folder (e.g. 03_ARTICLES) or highlight a frontmatter attribute and value (e.g. classification: public). You can update the attribute the plugin checks as well as the value. Close the menu and add a note either to the highlighted folder or add the classified frontmatter attribute. As the plugin only performs the highlight check when you load the file you need to reload the file to see the higlighted titlebar imidiately. You can reload the file by switching to another note and back. You see on load of the page the plugin check the frontmatter e.g. classification: public or the path and highlights the titlebar red.

Alternative: cssclasses

Obsidian has a cssclasses build-in. Combining a custome css snippet with the cssclass: attribute in the frontmatter provides a similar functionality.

Compatibility

obsidian-highlightpublicnotes-plugin currently requires Obsidian v0.9.12 or above to work properly.

Installation

You can install the plugin via the Community Plugins tab within Obsidian. Just search for "highlight public notes".

Changes

You find the full changelog here.