generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add test for to ensure proper indentation when a text block is w…
- Loading branch information
1 parent
1ac8d3a
commit efb79fb
Showing
6 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { ICombinedBooksAndHighlights } from "src/types" | ||
|
||
export const aggregateWrappedTextBlockData: ICombinedBooksAndHighlights = { | ||
"bookTitle": "Apple iPhone - User Guide - Instructions - with - restricted - symbols - in - title", | ||
"bookId": "THBFYNJKTGFTTVCGSAE5", | ||
"bookAuthor": "Apple Inc.", | ||
"bookGenre": "Technology", | ||
"bookLanguage": "EN", | ||
"bookLastOpenedDate": 731876693.002279, | ||
"bookCoverUrl": '', | ||
"annotations": [{ | ||
"chapter": "Another aggregated Introduction", | ||
"contextualText": "This is a contextual text for the aggregated hightlight from the Apple iPhone User Guide\ncontaining a new line to test the preservation of indentation", | ||
"highlight": `Chapter 1 introduces the terminology and approach\nthat we're going to use throughout this book. It examines what we actually mean by\nwords like reliability, scalability, and maintainability, and how\nwe can try to achieve these goals.`, | ||
"note": "Test note for the aggregated hightlight from the Apple iPhone User Guide\nalong with a new line to test the preservation of indentation", | ||
"highlightStyle": 3, | ||
"highlightCreationDate": 731876693.002279, | ||
"highlightModificationDate": 731876693.002279 | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters