Skip to content

Commit 4d85640

Browse files
committed
Tutorial for Meta data field customization #19
1 parent 78ee146 commit 4d85640

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ Available variables that can be used in template tags are the same variables fro
3131

3232
I also published my own templates [here](https://github.com/mProjectsCode/obsidian-media-db-templates).
3333

34+
#### Metadata field customization
35+
Allows you to rename the metadata fields this plugin generates through mappings.
36+
37+
A mapping has to follow this syntax `[origional property name] -> [new property name]`.
38+
Multiple mappings are separated by a new line.
39+
So e.g.:
40+
```
41+
title -> name
42+
year -> releaseYear
43+
```
44+
3445
### How to install
3546
**The plugin is now released, so it can be installed directly through obsidian's plugin installer.**
3647

@@ -46,8 +57,7 @@ The folder structure should look like this:
4657
|_ main.js
4758
|_ manifest.json
4859
|_ styles.css
49-
```
50-
60+
```
5161

5262

5363
### How to use

0 commit comments

Comments
 (0)