diff --git a/docs/api.md b/docs/api.md index 4696c82..d43805f 100644 --- a/docs/api.md +++ b/docs/api.md @@ -96,7 +96,7 @@ Read and write vault files. - The loaded data is also returned - `const dataurl = await $.io.load_data_url( path, mimetype? )` - Encode the contents of a file into a dataurl for use in a template - - Optionaly specify the mime type. + - Optionally specify the mime type. - Auto mime type mappings are available for the following common file extensions: `.jpeg`, `.jpg`, `.png`, `.gif`, `.svg`, `.css` - `await $.io.output( file, content, open? )` - (Over)Writes the `file` with given `content` @@ -157,7 +157,7 @@ Markers can be used to replace sections of a note with dynamic values. Sections - `markers = await $.markers.fetch()` - Returns the markers found in the target file - `changes = await $.markers.apply( clearUnknownMarkerValues? )` - - Applys set marker values to the target file + - Applies set marker values to the target file - `clearUnknownMarkerValues` is optional, set it to `false` if you want to prevent unset markers being blanked out. ### Examples diff --git a/docs/user-guide.md b/docs/user-guide.md index ac94d6b..0c362b3 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -36,7 +36,7 @@ await $.ui.message('This is the init codeblock'); ``` ```` -Multiple codeblocks with the same tag will be concatinated together before running. +Multiple codeblocks with the same tag will be concatenated together before running. To skip a codeblock all together, use the `skip` tag like this: ````md @@ -143,7 +143,7 @@ See the [API](api.md) or another [example](examples/guess-the-number-marker.md) ## Accessing the DataView plugin API -If you are fimilar with the [DataView](https://github.com/blacksmithgu/obsidian-dataview) plugin and have it installed, you can access it's [js api](https://blacksmithgu.github.io/obsidian-dataview/api/code-reference/) via the `$.dv.` interface. +If you are familiar with the [DataView](https://github.com/blacksmithgu/obsidian-dataview) plugin and have it installed, you can access it's [js api](https://blacksmithgu.github.io/obsidian-dataview/api/code-reference/) via the `$.dv.` interface. For example: ````md