Closed parlough closed 1 month ago
Visit the preview URL for this PR (updated for commit 42287eccdfa0e41f815b9fbccba7ea5e34f9a0dc):
https://dart-dev--pr5884-feat-support-specifiying-dartpad-attr-sv5ci0mm.web.app
Thanks for the review and questions @atsansone!
- Why do we not set height on DartPad includes any more?
The new embed mechanism hasn't supported it, so removing the mentions to avoid misconceptions that it is supported. A lot of them time, they run-dartpad
portions were copied from elsewhere without paying too much attention I think. If there's a strong desire to bring height adjustment back, open an issue, and I can definitely do so!
- Why default to light theme?
That's just what we've always done for embeds since the site body is light theme. Then in codelabs, dark theme indicates it's a conclusion exercise.
Enables the mechanism for adding a
title
attribute to DartPad code blocks.