Skip to content

Commit e2ebe27

Browse files
committed
Merge branch 'master' into release
2 parents e716af1 + 9ef26b3 commit e2ebe27

39 files changed

+3564
-1198
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Obsidian Meta Bind Plugin
22
This plugin can create input fields inside your notes and bind them to metadata fields.
33

4+
### New docs
5+
I am currently working on new docs for this plugin.
6+
https://mprojectscode.github.io/obsidian-meta-bind-plugin-docs
7+
48
### How to use
59
To create an input field you have to write an inline code block or normal code block starting with `INPUT`. Then in square brackets the type of input field, in round brackets arguments and finally behind a colon the metadata field to bind to.
610

@@ -22,7 +26,7 @@ For more examples see the `exampleVault` folder.
2226
- `text` a text field
2327
- `text_area` a bigger text field
2428
- `select` a select input field, only for code blocks
25-
- `multi-select` a multi-select input field, only for code blocks
29+
- `multi_select` a multi-select input field, only for code blocks
2630
- `date` a date input field
2731

2832
#### Arguments

esbuild.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import esbuild from "esbuild";
22
import process from "process";
33
import builtins from 'builtin-modules'
4+
import esbuildSvelte from "esbuild-svelte";
5+
import sveltePreprocess from "svelte-preprocess";
46

57
const banner =
68
`/*
@@ -49,4 +51,10 @@ esbuild.build({
4951
sourcemap: prod ? false : 'inline',
5052
treeShaking: true,
5153
outfile: 'main.js',
54+
plugins: [
55+
esbuildSvelte({
56+
compilerOptions: { css: true },
57+
preprocess: sveltePreprocess(),
58+
}),
59+
],
5260
}).catch(() => process.exit(1));

esbuild.dev.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import esbuild from "esbuild";
22
import process from "process";
33
import builtins from 'builtin-modules'
44
import copy from 'esbuild-plugin-copy-watch'
5+
import esbuildSvelte from "esbuild-svelte";
6+
import sveltePreprocess from "svelte-preprocess";
57

68
const banner =
79
`/*
@@ -61,6 +63,10 @@ esbuild.build({
6163
from: './manifest.json',
6264
to: '',
6365
},
64-
])
66+
]),
67+
esbuildSvelte({
68+
compilerOptions: { css: true },
69+
preprocess: sveltePreprocess(),
70+
}),
6571
]
6672
}).catch(() => process.exit(1));

0 commit comments

Comments
 (0)