FFLOW 0.1.0: trigger symbols set frontmatter properties
This commit is contained in:
commit
021777203b
15 files changed
+1189
No files matched your search
@@ -0,0 +1,27 @@
|
||||
# FFLOW — Frontmatter Flow
|
||||
|
||||
Set frontmatter properties from the editor with trigger symbols, the way `#` autocompletes tags.
|
||||
|
||||
Type `@mee`, pick `meeting`: the text `@mee` disappears and the note gets `type: meeting`.
|
||||
|
||||
## Triggers
|
||||
|
||||
Each trigger (Settings → FFLOW) has:
|
||||
|
||||
- **Symbol**: one character that is not a letter, digit or space. `# [ / :` are reserved (tags, links, slash commands, emoji). Default: `@`.
|
||||
- **Property**: the frontmatter key to write. Default: `type`.
|
||||
- **Value mode**: *Single value* replaces the value; *List* appends without duplicates.
|
||||
- **Suggestions**: *Open* lists every value already used for that property in the vault, ranked by use, and accepts new values. *Finite* only offers the values listed in the settings.
|
||||
|
||||
A trigger fires only at the start of a word (line start or after a space), and never inside frontmatter or code.
|
||||
|
||||
## Development
|
||||
|
||||
```
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
||||
Copy `main.js`, `manifest.json` and `styles.css` to `<vault>/.obsidian/plugins/fflow/`.
|
||||
|
||||
See [ROADMAP.md](ROADMAP.md) for planned features.
|
||||
Reference in new issue
Block a user