mirror of
https://github.com/meld-cp/obsidian-build.git
synced 2026-07-22 07:30:25 +00:00
update marker api docs
This commit is contained in:
parent
bd8f6c2f09
commit
4a713ab8ed
1 changed files with 7 additions and 1 deletions
|
|
@ -176,12 +176,18 @@ Markers can be used to replace sections of a note with dynamic values. Sections
|
|||
//$.markers.target_file( 'Marker Target.md' );
|
||||
|
||||
// returns list of markers found in the target file
|
||||
const markers = await $.markers.fetch();
|
||||
//const markers = await $.markers.fetch();
|
||||
//console.log({markers});
|
||||
|
||||
// loads maker values into memory from target file
|
||||
await $.markers.load();
|
||||
|
||||
// removes marker values from memory
|
||||
//$.markers.clear();
|
||||
|
||||
// gets a marker value from memory
|
||||
const value = $.markers.get( 'marker1' );
|
||||
|
||||
// sets a marker value in memory
|
||||
$.markers.set( 'marker1', Math.random() );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue