From 4d85640d44f147f3aefb4304a934653656cb9ec8 Mon Sep 17 00:00:00 2001 From: mProjectsCode Date: Tue, 7 Jun 2022 10:45:45 +0200 Subject: [PATCH] Tutorial for Meta data field customization #19 --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e1b7b03..01a2531 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,17 @@ Available variables that can be used in template tags are the same variables fro I also published my own templates [here](https://github.com/mProjectsCode/obsidian-media-db-templates). +#### Metadata field customization +Allows you to rename the metadata fields this plugin generates through mappings. + +A mapping has to follow this syntax `[origional property name] -> [new property name]`. +Multiple mappings are separated by a new line. +So e.g.: +``` +title -> name +year -> releaseYear +``` + ### How to install **The plugin is now released, so it can be installed directly through obsidian's plugin installer.** @@ -46,8 +57,7 @@ The folder structure should look like this: |_ main.js |_ manifest.json |_ styles.css -``` - +``` ### How to use