2.0.0 • Published 8 months ago

joplin-plugin-better-code-blocks v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Features

  • Renders code blocks inside the editor pane (rather than only inside the preview pane)
  • Adds copy button for code blocks inside the editor pane
  • Autocompletes code blocks
  • Changes Select All to select the current code block
  • Performs some tricks to prevent accidental deletion of code blocks
  • Supports both legacy (CM5) and new (CM6) markdown editor

Screenshots

minimal layout standard layout settings

Download

Search for Better Code Blocks in the Joplin settings under the Plugins section.

Settings

SettingOptionsDescription
AutocompletionEnabled, DisabledEnables/disables automatic completion of code blocks when Enter is pressed
RenderingEnabled, DisabledEnables/disables rendering of code blocks
Behavior of Select All inside code blockSelect current code block, Select everythingChanges the behavior of Select All while the cursor is inside code blocks
Render layoutMinimal, StandardChanges the layout of rendered code blocks
Corner styleSquare, RoundChanges the border style of rendered code blocks
Copy button behaviorCopy code, Copy code and fencesControls what's copied when the Copy Code button is clicked
Autocompleted languages (new CM6 editor only)(comma-separated list)Enables native autocompletion for the given languages
Excluded languages(comma-separated list)Disables rendering of code blocks for specific languages

Credits

License

Copyright © 2023 Chris Kant. This project is MIT licensed.

2.0.0

8 months ago

1.1.0

2 years ago

1.0.0

2 years ago