Giter Site home page Giter Site logo

fblissjr / logseq-readwise-reader-export Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pstuifzand/logseq-readwise-reader-export

0.0 0.0 0.0 130 KB

Export blocks to Readwise Reader

License: MIT License

JavaScript 66.37% TypeScript 29.31% HTML 4.31%

logseq-readwise-reader-export's Introduction

logseq-readwise-reader-export

Send blocks to Readwise Reader as highlights.

Features

  • Export a block to Readwise.
  • Export a block with a note to Readwise.
  • Export a page to Reader
  • Save an URL to Reader

Functions

Export blocks

You can send the current block as a highlight to Readwise with the slash command "Export as highlight to Readwise" or from the context menu with "Export as highlight to Readwise".

The current block will be sent as the highlight and the first child block as the note. When you send the same highlight multiple times, it will only be saved once, because Readwise looks at the author, title, text combination for a highlight. It updates the note when the note is send again later. Formatting is not supported.

Highlights are created in a book with author and title from the plugin settings.

Export to Readwise with note by slash command

Create mastery flashcards

With .qa tag it is possible to create flashcards in Readwise directly from Logseq. Normally highlights are on the line itself and the first child node is sent as a note for the highlight.

With .qa tag you do this as well, but format the note itself in a special way. Start with .qa press Shift+Enter, to add a new line, write your question, Shift+Enter for a new line and add the answer of the flashcard. All combined that will look like this:

- [highlight or other text]
  - .qa
    [question]
    [answer]

Real example:

- I just found how to create flashcards in Readwise with tags.
    - .qa
      How you can you create flashcards in Readwise from tags?
      With the .qa tag and a specially formatted note.

Export page to Reader

Use the command palette "Export Page to Reader". When called the plugin will the author from settings, a fake url (because logseq urls are not accepted), the page title and the content blocks as paragraphs to Reader. The HTML the plugin sends is very simple for now, but can be improved. Please provide feedback about this in Discussions.

Save URL to Reader

Use the command palette "Save URL to Reader" or the block context menu to Save a URL to Reader.

Settings

You can set the Readwise access token, author and book title.

Author

Peter Stuifzand

logseq-readwise-reader-export's People

Contributors

charleschiugit avatar pstuifzand avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.