mirror of
https://github.com/lenalebt/obsidian-pocketbook-cloud-highlight-importer.git
synced 2026-07-22 07:40:24 +00:00
Added author link
This commit is contained in:
parent
142837591a
commit
d2d24f7918
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ function general_book_content(book: PocketbookCloudBook, folder: string) {
|
|||
'`);\n\n' +
|
||||
'const result = queryResult.value.values.map(line => "> [!quote]\\n> " + line[0].replace(/\\n/g, "\\n> ") + (line[1] ? "\\n\\n> [!note]\\n> " + line[1].replace(/\\n/g, "\\n> ") : ""))\n\n' +
|
||||
'dv.list(result)\n' +
|
||||
'```\n';
|
||||
'```\n' +
|
||||
`Authors: [[${book.metadata.authors}]]\n`;
|
||||
return content;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue