Action
AnkiCard from iBooks Highlight
Posted by @FlohGro,
Last update
about 3 years ago
- Unlisted
retitle current Draft
Created by FlohGro (Twitter)
request from @CMx3 in Drafts Forum here
This action tries to extract the content of a highlight copied from iBooks into a Draft and removes the copyright notes.
Do only use this action for your personal learning stuff - Iām not responsible if you miss citing the original source i academic paperwork.
Steps
-
script
const content = draft.content const regex = /\ā([\s\S]*?)\ā/m; let match = regex.exec(content) if(match){ draft.content = match[1] draft.update() }
Options
-
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.