mirror of
https://github.com/mayurankv/Obsidian-Code-Styler.git
synced 2026-07-22 08:10:29 +00:00
9.1 KiB
9.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
See this project's releases.
Unreleased
1.1.7 - 2024-02-23
Fixed
- Settings Updates fix properly
1.1.6 - 2024-02-23
Fixed
- Settings Updates
1.1.5 - 2024-02-21
Added
- Reference codeblocks for referencing local and external files
- Markdown links, local links and html links
- Syntax Highlighting
- YAML frontmatter Syntax Highlighting in source mode
Changed
- URLs can now be linked in codeblock title references
1.1.4 - 2023-11-28
Added
- Added markdown links and wikilinks in comments
Changed
- Made
MarkdownRenderer.renderto usepluginas component - Changed Language information to single dictionary
1.1.3 - 2023-11-27
Fixed
- Fix reference parsing and added markdown links
1.1.2 - 2023-11-27
Fixed
- Inline Code right spacing bug fixed
Added
- Compatibility with slides core plugin
1.1.1 - 2023-11-27
Fixed
- Fixed CSS issues
- Fixed Regex Parsing and complexity issues
1.1.0 - 2023-11-26
Added
- Added swapping
:with=for parameter setting for compatibility with similar plugins - Added utilising
{1,3,5-7}syntax for default highlighting line numbers - note this has no ability to highlight with regex or by word - Added parsing of rmarkdown codeblock formats
- Added links to codeblock headers via the
refparameter or using a wikilink in thetitleparameter
Changed
- Changed how
charWidthis calculated
Fixed
- Scrolling long codeblocks no longer glitches the margin due to
charWidthchanges
Notes
- Links do not show up in metadata (i.e. graphs or backlinks), this is an upstream issue with adding links via plugins
1.0.11 - 2023-09-02
Added
- Setting to disable inline code styling
- Added security file
- Added unit testing framework
Changed
- Modified settings to be more modular
- Changed how headers are built
Fixed
- Codeblocks in html comments are no longer styled
1.0.10 - 2023-08-30
Added
- Added ability to parse codeblock rendered in settings
- Added ability to rerelease versions if build fails
Changed
- Changed how line numbers are hidden/shown
- Changed how inline code syntax highlighting setting is implemented
Fixed
- Fixed
wrapparameter bug (on click would unwrap)
1.0.9 - 2023-08-25
Added
- Added ability to parse execute code codeblock parameters
- Added automated settings updates between versions
Changed
- Changed
ViewPluginstoStateFields
Fixed
- Dealt with removing decorations in source mode properly (headers, fold regions)
- Fixed limiting behaviour in source mode apart from codeblock line styling
- Cursor unfold/refold is now based on full range
- Fixed small CSS bugs
1.0.8 - 2023-08-23
Added
- Added fold commands
run-*implemented by the execute code plugin are treated as their original language with an update script to pull current values
Changed
- Refactored editing view codeblock parsing to use callbacks in a loop function
- Can now update default themes
- Changed how header and sub-elements are hidden
- Changed how edit mode folds codeblocks
- Changed variable names from collapse to fold
Fixed
- Compatibility with the blur plugin
- Removing codeblock languages now doesn't make folded codeblocks disappear
1.0.7 - 2023-08-16
Added
- Added framework for reuse of loop in editing view and for commands
Changed
- Only style scrollbar if theme already styles it
- Automatic update doesn't change changelog heading levels
Fixed
- Added full message to automatic release
- Fixed Blue Topaz line wrapping priority bug
- Fixed dataviewjs glitching bug
1.0.6 - 2023-08-15
Added
- CSS linting added
- Automated packaging and releasing
Changed
- Replaced deprecated
MarkdownRenderer.renderMarkdowntoMarkdownRenderer.render - Changed parsing of HTML tags
Fixed
- Parsing error for codeblock delimiters
- Readded scrollbar after css bug caused it to disappear
- Fixed
wrapparameter actually applying class.unwrapped
1.0.5 - 2023-08-11
Added
- Linting
Changed
- Some refactoring of code
Fixed
- Re-add wrap implementations
1.0.4 - 2023-08-09
Added
- Add
wrapas alias tounwrap:falseandunwrapas alias tounwrap:true
Changed
- Round up heights to prevent rounding error scrollbars from appearing
- Convert transitions so
max-heightis only applied temporarily for animations - Codeblock processor languages do not get styled by default and must be whitelisted for styling
Fixed
- Escape HTML strings properly
- Prevent jumping when typing and seamless editing side-by-side
1.0.3 - 2023-08-08
Added
- Re-renders on changes to relevant settings
Fixed
- Multiline tokens are retained
- Scroll issues are fixed (apart from small near-empty codeblocks)
1.0.2 - 2023-08-04
Changed
- Added some language name aliases
Fixed
- Fixed
arduinolanguage colour - Fixed minimal theme readable line length issue
1.0.1 - 2023-07-11
Added
- Added inline code syntax highlighting
- Added inline code titles and icons
Changed
- Replaced
colorwithcolour - Cursoring horizontally into codeblocks temporarily uncollapses them until the cursor is outside the codeblock
Fixed
- Bug where cursoring into codeblocks and typing to make them disappear is fixed
1.0.0 - 2023-07-08
Notes
- Initial release.
- Built upon a fork from the Codeblock Customizer Plugin.
Added
- Added smooth folding transition in reading mode.
- Added button animations.
- Added ignore parameter and YAML setting.
- Added line wrapping settings and parameters.
- Added line numbering parameters.
- Added dynamic line number margin sizing in reading mode and editing mode.
- Added regex line highlighting.
- Added optional fold placeholder parameter and settings.
- Added default theme which uses existing css variables.
- Added current line indicator via line number colour.
- Added colour styling for buttons.
- Added gradient highlighting with colour stop settings.
- Added header font size and family customization.
- Added icon customizability.
- Added codeblock curvature setting.
- Added optional language border setting.
- Added optional redirecting of language colours and icons.
- Added compatibility with many popular themes and ability for theme specific corrections.
- Added compatibility with the execute code plugin, code preview plugin, file include plugin and admonitions plugin.
- Added automatic release on tag addition using github workflows.
- Added issue and pull request templates.
- Added other supporting documents such as CONTRIBUTING.
- Added plugin automatically applies to open pages when loaded now.
- Added compatibility within callouts
- Added compatibility within lists
Changed
- Refactored large portions of code.
- Changed settings structure.
- Combined light and dark themes to single theme.
- Restructured codemirror extensions.
- Restructured markdown post-processor.
- Refactored how runtime styles are applied.
- Changed settings structure.
- Disabled markup in source mode.
- Separated ignored languages from ignored codeblocks to allow for better parsing.
- Changed how line numbers are spaced in reading mode.
- Updated README.
- Removed
nonelanguage from supported languages since it is used by obsidian for codeblocks without a language