Hello! To meet my requirements in daily usage, I created a plugin that contains several different functions. Hope it can help you.
V1.2.0 [2023-03-30]
- New: render
---
as a horizontal line in markdown editor - Fix:
- Fix list number auto correcting bugs
- Fix wrong link icon
Features
Each feature can be disabled/enabled in the settings.
ReadCube Papers
ReadCube Papers and others like Dida365 are standalone plugins now.
Please refer to:
Inline/Block math renderer in markdown editor
It significantly hurts your joplin's performance for now, especially with lots of math block. Please refer to Duplicate css properties for the assets of any codemirror plugins · Issue #6719 · laurent22/joplin · GitHub
Disabled by default
Mermaid renderer in markdown editor
Header tag render in markdown editor
It shares the same configuration as with the clickable task checkbox
Code mainly comes from Zettlr
block link/image renderer in the editor
Only single line image/link can be previewed. ctrl/meta + left click on the rendered widgets can open the urls/files
Link preview only works with PDF/video/audio files
Inline link and image are folded only.
Pseudocode
Pseudocode block:
Image
Allow following md works:
![Your Figure Caption Here](/path/to/your/img){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
Admonition Renderer in markdown editor
It supports both !!!
style and :::
style admonitions.
It only renders the editor. For admonition in the preview, please check the Admonition markdown extension
It conflicts with the 'Align wrapped list items' of Rich Markdown plugin.
This feature could be removed if the conflicts are solved, and it will be pushed to the Rich Markdown plugin.
Enhanced blockquote support
- It supports
[color=red]
item in blockquote area so that the blockquote can be rendered with the given color border. [name=SeptemberHX]
and[date=20220202]
- Automatically fold the
[xxx=xxx]
to keep the editor clean
Search & Replace
Code mainly comes from GitHub - zhuhs/codemirror-search-replace: codemirror search and replace
Current Bug: Cannot save after replacement. User needs to manually modify the note to save the change (for example: add a space)
It is disabled by default
Border for indent list in markdown editor
It needs the joplin-rich-markdown plugin installed and the feature 'indent list' enabled
Clickable task checkbox in markdown editor
Codes mainly comes from Zettlr
Toggle Sidebar and Note List panel together
A button on the note toolbar to toggle the sidebar and note list panel together.
It should be useful when the horizontal space of your screen is tight
Render Front Matter to Nothing
It just renders the front matter to nothing. It is helpful when you try to keep the front matter part and avoid the unwanted rendered content (write a blog for example).
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
/now
/today
/tomorrow