Closed ichhh closed 1 year ago
Thank you for your plugin. I'm trying to modify it a bit to import to obsidian text with it's highlighted color (yellow, blue...) but failing to find the parameter. Could you please help me out?
https://github.com/bingryan/obsidian-ibook-plugin/blob/master/docs/example.md
Or are you talking about the highlight color that comes with the ibook?
---
tags:
- ibook/
---
# ๐ Book: {{library.ZSORTTITLE}}
**Author**:: {{library.ZAUTHOR}}
**LANGUAGE**:: {{library.ZLANGUAGE}}
**Book Link**:: [Apple Books Link](ibooks://assetid/{{library.ZASSETID}})
{{#if library.ZBOOKDESCRIPTION}}
---
# ๐งพ Description
{{{library.ZBOOKDESCRIPTION}}}
{{/if}}
---
# ๐ How I Discovered IT
{{#group annotation by="ZFUTUREPROOFING5"}}
- ๐{{value}}
{{#each items}}
{{#if ZANNOTATIONSELECTEDTEXT}}
{{#is ZANNOTATIONSTYLE 5}}
- ๐ฏ <mark style="background: #C4B3D9;">{{ZANNOTATIONSELECTEDTEXT}}</mark>
{{/is}}
{{#is ZANNOTATIONSTYLE 4}}
- ๐ฏ <mark style="background: #E6A5AB;">{{ZANNOTATIONSELECTEDTEXT}}</mark>
{{/is}}
{{#is ZANNOTATIONSTYLE 3}}
- ๐ฏ <mark style="background: #EDD570;">{{ZANNOTATIONSELECTEDTEXT}}</mark>
{{/is}}
{{#is ZANNOTATIONSTYLE 2}}
- ๐ฏ <mark style="background: #A8BADE;">{{ZANNOTATIONSELECTEDTEXT}}</mark>
{{/is}}
{{#is ZANNOTATIONSTYLE 1}}
- ๐ฏ <mark style="background: #B0D17F;">{{ZANNOTATIONSELECTEDTEXT}}</mark>
{{/is}}
{{#is ZANNOTATIONSTYLE 0}}
- ๐ฏ <mark style="background: #E65747;">{{ZANNOTATIONSELECTEDTEXT}}</mark>
{{/is}}
{{/if}}
{{#if ZANNOTATIONNOTE}}
- โ๏ธ{{ZANNOTATIONNOTE}}
{{/if}}
{{/each}}
{{/group}}
if you want to use ibook highlighted text's color. set this template : setting-> ibook -> template
Thank you for your plugin. I'm trying to modify it a bit to import to obsidian text with it's highlighted color (yellow, blue...) but failing to find the parameter. Could you please help me out?