Skip to content

Comments

feat(daffio): enable rendering of example code output in daffio#4274

Open
damienwebdev wants to merge 24 commits intodevelopfrom
design-examples-overhaul
Open

feat(daffio): enable rendering of example code output in daffio#4274
damienwebdev wants to merge 24 commits intodevelopfrom
design-examples-overhaul

Conversation

@damienwebdev
Copy link
Member

@damienwebdev damienwebdev commented Jan 6, 2026

PR Checklist

  • Commit message follows our contributing guidelines
  • Tests added/updated (for bug fixes/features)
  • Documentation added/updated (for bug fixes/features)

PR Type

  • Bug fix
  • Feature
  • Style update
  • Refactor
  • Test
  • Build
  • CI
  • Docs
  • Performance
  • Other (please describe)

Current behavior

We have no way to render code output inside of markdown content in daff.io.

Fixes: #2903, fixes: #2905

New behavior

We can now render design examples (as well as other examples) in daff.io

Breaking change?

  • Yes
  • No

Additional context

This supersedes

@damienwebdev damienwebdev requested review from a team as code owners January 6, 2026 14:44
@damienwebdev damienwebdev force-pushed the design-examples-overhaul branch from 40580f1 to f9b8f3e Compare January 6, 2026 14:48
@damienwebdev damienwebdev force-pushed the design-examples-overhaul branch from f9b8f3e to 706055a Compare January 6, 2026 15:22
@xelaint xelaint force-pushed the design-examples-overhaul branch 2 times, most recently from ac0dd61 to 9b093a1 Compare January 7, 2026 15:28
@xelaint xelaint requested a review from a team as a code owner January 7, 2026 15:28
@damienwebdev
Copy link
Member Author

damienwebdev commented Jan 7, 2026

TODO:

  • Find all existing readme files with a design-land-example and make them work
  • Make initial render of the example viewer work on design components (daff-tabs interaction)
  • Make files for design-examples load
  • Add a mode for "simple" examples like color palette guides.

@griest024 griest024 force-pushed the design-examples-overhaul branch from 14f60d5 to 2e35d77 Compare February 19, 2026 21:32
griest024
griest024 previously approved these changes Feb 19, 2026
@griest024 griest024 dismissed their stale review February 19, 2026 22:43

still TODOs

@griest024 griest024 self-assigned this Feb 19, 2026
@griest024
Copy link
Member

@damienwebdev

Make initial render of the example viewer work on design components (daff-tabs interaction)

Does this refer to SSR?

@griest024
Copy link
Member

There's still a slight render issue of the example previews in SSR but I don't think that should block this PR. I think we should piece this up and merge it.

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.

Daffodil Palette Docs Generation [FEAT] Display Example Viewer in Markdown Files

3 participants