Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat(astro): custom expressive code plugins#444

Merged
AriPerkkio merged 2 commits into
stackblitz:mainstackblitz/tutorialkit:mainfrom
isaacplmann:expressive-code-pluginsisaacplmann/tutorialkit:expressive-code-pluginsCopy head branch name to clipboard
Apr 14, 2025
Merged

feat(astro): custom expressive code plugins#444
AriPerkkio merged 2 commits into
stackblitz:mainstackblitz/tutorialkit:mainfrom
isaacplmann:expressive-code-pluginsisaacplmann/tutorialkit:expressive-code-pluginsCopy head branch name to clipboard

Conversation

@isaacplmann

Copy link
Copy Markdown
Contributor

I would like to add custom expressive code plugins to change the way code blocks are rendered.

This PR adds an options expressiveCodePlugins property on the tutorialkit plugin that is instantiated in the astro.config.ts.

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@isaacplmann isaacplmann force-pushed the expressive-code-plugins branch from 01fdcc6 to f1fecff Compare April 11, 2025 19:09

@AriPerkkio AriPerkkio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good! 💯

I'll got to check why the e2e tests are breaking. Looks like unzipping the downloaded project fails now. Probably related to recent Webcontainer Node 20 upgrades (cc. @SamVerschueren) 🤔

@SamVerschueren

Copy link
Copy Markdown
Contributor

@AriPerkkio I tested the same code on StackBlitz and it seems to work fine (https://stackblitz.com/~/edit/node-wpdcdazw?file=index.js). The zip I used is downloaded from Bolt and thus uses the same export functionality as TutorialKit. So not entirely sure what goes wrong...

@AriPerkkio

Copy link
Copy Markdown
Contributor

I'll got to check why the e2e tests are breaking. Looks like unzipping the downloaded project fails now.

Created #447 for this.

@AriPerkkio AriPerkkio merged commit d586225 into stackblitz:main Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.