Codeblock Customizer

by mugiwara
Score: 60/100
favorite
share
Description
Category: Customization & UI

The Codeblock Customizer plugin allows Obsidian users to extensively customize the appearance and functionality of code blocks in their notes. Features include support for custom themes, line and text highlighting with multiple colors, line numbering, and header customization with file names, titles, or icons. The plugin also supports folding and semi-folding of code blocks for better readability and organization. Advanced options such as language-specific coloring, bracket matching, and selection matching enhance the coding experience. Additionally, inline code and links can be styled, and custom SVGs can be integrated. These capabilities make it easy to adapt code blocks to suit personal preferences or specific workflows.

Stats
212
stars
28,860
downloads
11
forks
724
days
2
days
203
days
3
total PRs
0
open PRs
1
closed PRs
2
merged PRs
119
total issues
18
open issues
101
closed issues
48
commits
Latest Version
7 months ago
Changelog

New:
- lsep (line separator), and tsep (text separator) parameter for text highlight
- Default themes are modifiable now. You also have two options for restoring the selected or all default theme
- Added two command for indenting and unindenting the code block, where the cursor is in
- Added a button for selecting all the code block content in editing mode
- Added a button for wrapping/unwrapping code block content in reading mode
- Added option to always display the Copy code button
- Added option to disable folding for code blocks, where fold or unfold was NOT defined

Modified:
- Line highlight and text highlight has been separated! Please read the README for more details
- For text highlight and header title it is now possible to define a " or ' inside the text. To do this you have to escape it with a backslash e.g.: file:"Hello \" World!"
- Folded code blocks in editing mode now display the Copy code button in the header when hovering over the header.

BugFix:
- Fixed, if the first line of the code block was too long, it was not displayed correctly. The end was cut off.
- Fixed an issue with Tasks plugin, where the Tasks plugin kept refreshing the tasks, when editing the document
- Fixed a bug, where leading spaces (3 or less) were automatically removed in reading mode
- Fixed a bug in reading mode, which wrapped lines incorrectly

README file from
Similar Plugins
info
• Similar plugins are suggested based on the common tags between the plugins.
Obsidian Columns
3 years ago by Trevor Nichols
Advanced Codeblock
3 years ago by Lijyze
An obsidian plugin that give additional features to code blocks.
Code Preview
2 years ago by Hank
Obsidian code block render by file path
ProgressBar
2 years ago by Wei Zhang
Code block plugin for Obsidian generating a progress bar
Code Styler
2 years ago by Mayuran Visakan
A plugin for Obsidian.md for styling codeblocks and inline code
CodeBlock Tabs
2 years ago by Jemin Mau
Create tab group for contiguous codeblocks.
Codeblock Template
2 years ago by Super10
A template plugin that allows for the reuse of content within Code Blocks!一个可以把Code Block的内容重复利用模板插件!
CSV Codeblock
a year ago by elrindir
Plugin for obsidian to render csv syntax in codeblocks.
Keyword Highlighter
a year ago by Marcel Goldammer
Automatically highlight specified keywords within your Obsidian notes for enhanced visibility and quick reference.
PDF++
a year ago by Ryota Ushio
PDF++: the most Obsidian-native PDF annotation & viewing tool ever. Comes with optional Vim keybindings.
GDScript Syntax Highlighting
a year ago by RobTheFiveNine
Adds live GDScript syntax highlighting to code blocks in the Obsidian editor.
Pdf Annotator
9 months ago by Boninall
Annotator
4 years ago by Elias Sundqvist
A plugin for reading and annotating PDFs and EPUBs in obsidian.
Highlightr
3 years ago by Chetachi
A minimal and aesthetically pleasing highlighting menu that makes color-coded highlighting much easier 🎨.
Occura
6 months ago by Alexey Sedoykin
Plugin for https://obsidian.md/ that automatically selected same text occurrences in opened note
Note Annotations
3 months ago by Jan Beck
Extended Markdown Syntax
2 months ago by Kotaindah55
Extend your Markdown syntax using delimiters instead of HTML tags, such as underlining, superscript, subscript, highlighting, and spoiler.