- Go to you vault and go into the .obsidian (hidden) folder.
- Go to the plugins folder and create a new folder named e.g. obsidian-contacts.
- Copy the main.js, manifest.json and styles.css files in your newly created folder.
- Open your vault. 4.1 Enable community plugins. 4.2 Enable contacts plugin.
Open the commands menu and search for "contact". There you can add a new contact or edit the current contact fields (doesn't overwrite the old one yet, but writes a new entry/text in the file).
At the moment you have some default fields and new ones can be added. Fields can not be deleted in the settings again. (You could do it in your plugins > obsidian-contacts folder manually by deleting entries in the data.json file)
No customizable settings yet
All help is welcome, be it regarding features or code!
I want to thank obsidian for the great platform and the other plugin (creators) where I got some inspiration especially in the early stages of obsidian plugin developement.
Especially thanks to the creators/maintainers of the Text Expander Plugin where I got the idea/code for the string trigger/replacement :)
- overwrite contact when editing
- add more options to settings
- implement testing
- CSV (file) for easy export/import to/from other applications
- open modal with key shortcut
- one file per contact
- at the top should be a #contact
- other fields should start with a #[name of this field] [content of this field]
- e.g. #firstname George