Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 2.59 KB

README.textile

File metadata and controls

63 lines (38 loc) · 2.59 KB


logseq-simpread

The official Logseq plugin of SimpRead.

shana.merge.demo.1.mp4

Usage

注意:本页面不包含使用教程,请前往简悦的 这条 discussion 查看。

Currently the plugin contains only one function: triggering the reading list panel.

To use this plugin, you need:

  • SimpRead, the browser extension installed
  • A premium account of SimpRead activated
  • Official 简悦 · 同步助手 installed, version >= 1.1.0
  • Knowledge base configured
  • Automation configured and enabled
  • Markdown 模板辅助增强插件 installed and template configured

The template used in the demo video is under templates.

Publishing

Packaging

The code is written in a single vanilla HTML file. The only dependency is lsplugin.user.min.js. Just replace the one loaded from CDN with a local copy.

Logo

Note that some objects are hidden. You can mamage them with the Selection pane.

To replicate logo.svg, please follow the instructions below:

  1. Open the XML file with PowerPoint
  2. Select all elements in the slide (Ctrl+A)
  3. Group them (Ctrl+G)
  4. Paste the combination in SVG format (Ctrl+Alt+V)
  5. Right click, and save that SVG as a picture

Known issues

top.document

top.document may be removed by Logseq.

Color of the toolbar icon looks bad in some themes

Currently the toolbar icon is in SVG format, which requires .st1{stroke: #xxxxxx} to control its color. However, most buttons on the toolbar is in icon fonts, making unofficial themes like Bear use another approach to control icon colors.

Scroll bar

The style of the scroll bar of the iframe does not match the official one’s.

Hardcoded URL

The port of simpread-sync is hardcoded to 7026. A configuration UI will be added in the future.

Roadmap

A new plugin API based highlights synchronization will be added in the future. Since Logseq plugins has no access to Node environment, it is impossible to implement the API in the same way as using Local REST API in Obsidian.