mirror of
https://github.com/meld-cp/obsidian-build.git
synced 2026-07-22 07:30:25 +00:00
spelling
This commit is contained in:
parent
4a713ab8ed
commit
6e2a255d6b
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue