Releases: mugiwara85/CodeblockCustomizer
1.4.7
1.4.6
1.4.5
1.4.4
-
Modified:
- Added Mac support for modifier keys
-
BugFix:
- Inline code not rendering in tables in editing mode when PDF printing was not enabled (#156)
- Scrolling over unwrapped code blocks did not work in editing mode
- Added fix to exclude all code blocks which use MarkdownPreviewRenderer during PDF Printing (#155)
- Fixed "Enable print to PDF" toggle. It didn't had any effect. Accidently broke it during a refactor
1.4.3
New:
- Added customizable frontmatter syntax coloring in editing mode
1.4.2
New:
- Added Syntax Themes. Using this, it is possible to define the color of each token in syntax highlighting. Read more in the README.
Modified:
- The header now only display the default "Collapsed Code" text, when the code block is either fully folded, or semi-folded.
BugFix:
- The background color in bracket matching wasn't working. It is fixed now.
1.4.1
1.4.0
New:
- Wrap code now also works in editor mode
- Added compatibility with Execute Code Plugin (#129, #149)
- Added option "Only apply inverse fold to semi-foldable blocks" to exclude code blocks when inverse fold and semi-fold are both enabled (#138)
- Added option "Auto semi-fold long code blocks" (#133)
- Added Modifier keys for buttons and inline code (#132)
- Added new parse parameter to parse raw CLI output fro prompts, and apply colors to them (#131)
- Added new Themes (Dracula, Gruvbox, Nord, Tokyo Night)
- Added "Copy as image" button to create snapshot of code blocks
- Added option to display an additional "+" and "x" for grouped code blocks for easier adding/removing blocks
- Added option to search for settings on the settings page
- Added new option to select alternative collapse indicators
- Added option to hide lines or ranges using the hide parameter
- Added blur effect for semi-fold
Modified:
- It is now possible to define "line number jumps" for the ln parameter (#143)
- CSS refactored into SCSS. Also fixed slow selectors (#136)
- Settings are NOT stored in the Themes anymore. They are completely independent from themes (#135)
- For text highlight now occurences can also be specified to highlight specifc occurence(s) of the text
BugFix:
- Fixed a bug, where the copy button copies white spaces (#148)
- PDF export now correctly uses the specified text color override (#145)
- Fixed a bug, which led to plugin crash when editing tables (probably #139, and also #144)
- Fixed a bug where code blocks in lists were padding missing (#128)
- Prompt names are NOT case sensitive now
- Fixed inline code mustache syntax (#147)
- Fixed a bug, where uncollapsing code blocks sometimes resulted in no decorations at all
1.3.1
BugFix:
- Fixed immediate rerender. Current release of Obsidian broke this feature.
1.3.0
New:
- Semi-interactive prompts
- Code blocks can now be displayed as groups
- Annotations
- Added colors for frontmatter
- Syntax highlight for inline code
- Added an option to hide the fence lines in editing mode (they will reappear when the cursor is inside a code block)
- Added an option for avoiding page break during PDF printing
Modified:
- Code block fold states can now be optionally stored in session or permanently
- Modifying code block parameters now immediately rerenders the code block in ReadeingView to reflect the changes. Works even when the document is side by side opened in editing and reading mode as well
- Code blocks now support ~~~ blocks as well, not just ``` blocks
- UI updated and reorganized
BugFix:
- Fixed a small CSS problem with buttons
- Fixed a small problem with alternative highlight colors (probably wasn't even noticeable)
- Fixed a bug, which caused Obsidian file explorer to be laggy
- Fold commands now work correctly, even in large documents
- Performance improvements
- Fixed a bug, where empty lines were not rendering in ReadingView, when using ln:false
- Fixed admonitions