Hello! To meet my requirements in daily usage, I created a plugin that contains several different functions. Hope it can help you.
Features
Each feature can be disabled/enabled in the settings.
ReadCube Papers
ReadCube Papers is a reference manager: Official website.
This plugin supports:
- Sync your papers information to local database. [Almost real time syncing due to the websocket protocal].
- Render a paper info table after the note content for paper note. [Note created by the menu 'Tools -> Create notes for papers'].
- Direct link to the PDF file in the paper info table.
- Auto insert formatted references through tool button.
ATTENTION: this plugin use database file instead of notes to store the papers' information since v0.6.1. No notes will be deleted. Your data will be safe.
WARNING: DO NOT delete the
source_url
attribute of notes. It helps to tell the renderer which notes should be rendered with a paper information table. The notes created for Papers have thesource_url
with thepapers_
prefix.
Dialog UI code from joplin/plugin-bibtex.git
How to use:
- In the Joplin Settings -> Joplin Enhancement -> Set your cookie for Papers
-
Joplin Menubar -> Tools -> Sync files with Papers: It will create notes for your papers without the annotations- Not needed anymore. Now it will fully fetch the papers at the startup and keep syncing based on websocket
- 'Tools -> Create notes for papers'. Only the notes created in this way can have a rendered paper information table
How to get cookies:
- Open your browser, go to your Papers Library
- Press F12 to open developer tools.
- Click any paper
Pseudocode
Pseudocode block:
Image
Allow following md works:
{width=60%}
This plugin can:
- Specific the width/height of the image with
{width=80px}
,{height=30}
,{width=50%}
- Render the image
![]()
in a<figure>
block withfigcaption
- Use the
alt
attribute as the figure caption, and display the caption under the image if not empty - Center alignment for image and caption
- Automatic image numbering
Table
Auto add row/column, delete column, and format table.
This part mainly comes from takumisoft68: vscode-markdown-table. Please refer to it for the feature description.
I just convert the code from vscode's editor to joplin's codemirror.
Because I have no idea how to create a context menu, currently all the operations are triggered by shortcut:
Function | Shutcut |
---|---|
Insert a row above/below | ctrl + shift + up/down |
Insert a column left/right | ctrl + shift + left/right |
Delete current column | ctrl + shift + backspace |
Navigate to previous cell | tab |
Navigate to next cell | shift + tab |
- It will automatically format your table code for alignment when navigation between cells with
tab
- A new line is appended when trying to navigate to next cell from the last cell
Table column colorize from the plugin: hieuthi/joplin-plugin-markdown-table-colorize
Local file preview
Currently only local pdf file can be previewed.
Quick Commands
Type /command
in the editor for quick input of table, mermaid, etc.
/table
/graph
/flowchart
/sequenceDiagram
/gantt
/classDiagram
/erDiagram
/journey
Auto folder in the editor
Currently only the mermaid block can be folded automatically.