Skip to content

fix(playground): strip extra lines before passing code blocks - #4695

Open
brandyscarney wants to merge 1 commit into
mainfrom
fix/stackblitz-line-breaks
Open

fix(playground): strip extra lines before passing code blocks#4695
brandyscarney wants to merge 1 commit into
mainfrom
fix/stackblitz-line-breaks

Conversation

@brandyscarney

Copy link
Copy Markdown
Member

Description

The StackBlitz examples have double line breaks after a recent Docusaurus upgrade.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Tests or Reproductions

View the following pages in production and open their StackBlitz examples:

Observe that the example page for every framework double line breaks:

CleanShot 2026-09-02 at 11 20 50

View the same pages on this branch's preview:

Observe that the example pages now show the proper line breaks:

CleanShot 2026-09-02 at 11 18 58

Important

Chrome, Firefox, and Safari should be tested. I removed a workaround in Safari that is no longer needed.

Additionally, you should verify that the copy button on the code blocks is still working the same way:

CleanShot 2026-09-02 at 11 22 23

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Sep 2, 2026 3:23pm UTC

Request Review

@brandyscarney
brandyscarney marked this pull request as ready for review September 2, 2026 15:26
@brandyscarney
brandyscarney requested a review from a team as a code owner September 2, 2026 15:26
@brandyscarney
brandyscarney requested review from OS-jacobbell and thetaPC and removed request for OS-jacobbell September 2, 2026 15:26
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.

1 participant