You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encloses given content into a callout syntax and returns the content as a string. If the note title is given, the content will be written to a file with the given title and the file path will be returned. If no note title is given, the content will be returned as a string.
Should give the guidance program a list of callout types to choose from based on the content going into the callout.
Actual/Current Behavior
N/A
Tests for Feature
Test 1
Should ensure that attributes of the note become predefined in both cases. Test Code:
def test_create_callout():
note_title = "Test Note"
content = "This is a test note"
expected = f"!!! {note_title}\n{content}"
actual = obsidian._create_callout(note_title, content)
assert expected == actual
Test Results: A file should be found in the vault with the given title and content enclosed in a callout syntax.
Wanted/Expected Behavior
_create_callout(note_title, content)->Exception|None
Encloses given content into a callout syntax and returns the content as a string. If the note title is given, the content will be written to a file with the given title and the file path will be returned. If no note title is given, the content will be returned as a string.
Actual/Current Behavior
N/A
Tests for Feature
Test 1
Should ensure that attributes of the note become predefined in both cases.
Test Code:
Test Results: A file should be found in the vault with the given title and content enclosed in a callout syntax.
From SyncLinear.com | AUT-40
The text was updated successfully, but these errors were encountered: