Title: Bump astro-expressive-code from 0.40.1 to 0.41.2 by dependabot[bot] · Pull Request #351 · emeraldjava/emeraldjava.github.io · GitHub
Open Graph Title: Bump astro-expressive-code from 0.40.1 to 0.41.2 by dependabot[bot] · Pull Request #351 · emeraldjava/emeraldjava.github.io
X Title: Bump astro-expressive-code from 0.40.1 to 0.41.2 by dependabot[bot] · Pull Request #351 · emeraldjava/emeraldjava.github.io
Description: Bumps astro-expressive-code from 0.40.1 to 0.41.2.
Release notes
Sourced from astro-expressive-code's releases.
astro-expressive-code@0.41.2
Patch Changes
013f07a: Fixes an issue where the deprecated, but still available theme option was not being taken into account during SSR bundle trimming.
013f07a: Improves the error message when the component is being used on a page without having the Astro integration enabled in the project.
rehype-expressive-code@0.41.2
astro-expressive-code@0.41.1
Patch Changes
a53e749: Fixes a regression that caused inline text markers to be rendered with two layered background colors.
Updated dependencies [a53e749]
rehype-expressive-code@0.41.1
astro-expressive-code@0.41.0
Minor Changes
380bfcc: Adds new createInlineSvgUrl export that creates an inline SVG image data URL from the given contents of an SVG file.
You can use it to embed SVG images directly into a plugin's styles or HAST, or pass it to an existing styleOverrides icon setting.
0f33477: Updates Shiki to the latest version (3.2.2).
This adds support for the strikethrough ANSI control code, updates language grammars and adds the bundled themes gruvbox-dark-hard, gruvbox-dark-medium, gruvbox-dark-soft, gruvbox-light-hard, gruvbox-light-medium, and gruvbox-light-soft.
6497f09: Adds new preventUnitlessValues property to PluginStyleSettings. Thank you @RantingHuman!
Plugins can set this property to an array of style setting paths to prevent unitless values for specific style settings. If the user passes a unitless value to one of these settings, the engine will automatically add px to the value. This is recommended for settings used in CSS calculations which would otherwise break if a unitless value is passed.
a826a4a: Adds a new hangingIndent prop to all code blocks. Thank you @Signum!
By setting this prop to a positive number of columns (either in the opening code fence, as a prop on the
component, or in the defaultProps config option), you can now further refine the indentation of wrapped lines.
If the prop preserveIndent is true (which is the default), the hangingIndent value is added to the indentation of the original line. If preserveIndent is false, the value is used as the fixed indentation level of all wrapped lines.
This option only affects how the code block is displayed and does not change the actual code. When copied to the clipboard, the code will still contain the original unwrapped lines.
0f33477: Extends ANSI formatting support to allow background colors and strikethrough text. Thank you @dhruvkb!
380bfcc: Adds the following new styleOverrides settings:
frames.copyIcon: Allows overriding the SVG icon used for the copy button. Thank you @louisescher!
frames.terminalIcon: Allows overriding the SVG icon used for the terminal window frame. Defaults to three dots in the top left corner.
0f33477: Adds support for bgColor and strikethrough to InlineStyleAnnotation. Thank you @dhruvkb!
Patch Changes
Updated dependencies [380bfcc]
Updated dependencies [0f33477]
... (truncated)
Changelog
Sourced from astro-expressive-code's changelog.
0.41.2
Patch Changes
013f07a: Fixes an issue where the deprecated, but still available theme option was not being taken into account during SSR bundle trimming.
013f07a: Improves the error message when the component is being used on a page without having the Astro integration enabled in the project.
rehype-expressive-code@0.41.2
0.41.1
Patch Changes
a53e749: Fixes a regression that caused inline text markers to be rendered with two layered background colors.
Updated dependencies [a53e749]
rehype-expressive-code@0.41.1
0.41.0
Minor Changes
380bfcc: Adds new createInlineSvgUrl export that creates an inline SVG image data URL from the given contents of an SVG file.
You can use it to embed SVG images directly into a plugin's styles or HAST, or pass it to an existing styleOverrides icon setting.
0f33477: Updates Shiki to the latest version (3.2.2).
This adds support for the strikethrough ANSI control code, updates language grammars and adds the bundled themes gruvbox-dark-hard, gruvbox-dark-medium, gruvbox-dark-soft, gruvbox-light-hard, gruvbox-light-medium, and gruvbox-light-soft.
6497f09: Adds new preventUnitlessValues property to PluginStyleSettings. Thank you @RantingHuman!
Plugins can set this property to an array of style setting paths to prevent unitless values for specific style settings. If the user passes a unitless value to one of these settings, the engine will automatically add px to the value. This is recommended for settings used in CSS calculations which would otherwise break if a unitless value is passed.
a826a4a: Adds a new hangingIndent prop to all code blocks. Thank you @Signum!
By setting this prop to a positive number of columns (either in the opening code fence, as a prop on the component, or in the defaultProps config option), you can now further refine the indentation of wrapped lines.
If the prop preserveIndent is true (which is the default), the hangingIndent value is added to the indentation of the original line. If preserveIndent is false, the value is used as the fixed indentation level of all wrapped lines.
This option only affects how the code block is displayed and does not change the actual code. When copied to the clipboard, the code will still contain the original unwrapped lines.
0f33477: Extends ANSI formatting support to allow background colors and strikethrough text. Thank you @dhruvkb!
380bfcc: Adds the following new styleOverrides settings:
frames.copyIcon: Allows overriding the SVG icon used for the copy button. Thank you @louisescher!
frames.terminalIcon: Allows overriding the SVG icon used for the terminal window frame. Defaults to three dots in the top left corner.
0f33477: Adds support for bgColor and strikethrough to InlineStyleAnnotation. Thank you @dhruvkb!
Patch Changes
... (truncated)
Commits
85a3641 [CI] Release (#329)
013f07a Improve \ error messages, fix theme option edge case (#328)
8e0d349 [CI] Release (#325)
83c6efd [CI] Release (#319)
0f33477 Add support for more ANSI escape codes (#317)
8e96695 [CI] Release (#306)
See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show
Open Graph Description: Bumps astro-expressive-code from 0.40.1 to 0.41.2. Release notes Sourced from astro-expressive-code's releases. astro-expressive-code@0.41.2 Patch Changes 013f07a: Fixes an issue where the d...
X Description: Bumps astro-expressive-code from 0.40.1 to 0.41.2. Release notes Sourced from astro-expressive-code's releases. astro-expressive-code@0.41.2 Patch Changes 013f07a: Fixes an issue where t...
Opengraph URL: https://github.com/emeraldjava/emeraldjava.github.io/pull/351
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a1f47cb0-15f4-3a65-796a-957b32789679 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE08:2B2A66:2D170BC:3F6A547:69710AB7 |
| html-safe-nonce | 13d60c9424135bbe02879838b0f5575257a8609cd59df43ed45442f9af7d2f91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTA4OjJCMkE2NjoyRDE3MEJDOjNGNkE1NDc6Njk3MTBBQjciLCJ2aXNpdG9yX2lkIjoiMjMxMzIwMzczMzI2NTgwNDA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0474fc12a2fec8405069fca223fce7848b93efd111bff3965ef30b3425808bcb |
| hovercard-subject-tag | pull_request:2475312462 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/emeraldjava/emeraldjava.github.io/pull/351/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps astro-expressive-code from 0.40.1 to 0.41.2. Release notes Sourced from astro-expressive-code's releases. astro-expressive-code@0.41.2 Patch Changes 013f07a: Fixes an issue where the d... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d0e7b0d5e294a53c55f49e80755e785182080c6e6a48c9ed353bedddaee69f4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/emeraldjava/emeraldjava.github.io git https://github.com/emeraldjava/emeraldjava.github.io.git |
| octolytics-dimension-user_id | 229760 |
| octolytics-dimension-user_login | emeraldjava |
| octolytics-dimension-repository_id | 17636941 |
| octolytics-dimension-repository_nwo | emeraldjava/emeraldjava.github.io |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17636941 |
| octolytics-dimension-repository_network_root_nwo | emeraldjava/emeraldjava.github.io |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d5a3a396bc74e65fd3ef897b0a99a6e489debaa |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width