Skip to content

Add UI for notes, warnings, and tips #2153

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
johnpryan opened this issue Jan 25, 2022 · 1 comment
Closed

Add UI for notes, warnings, and tips #2153

johnpryan opened this issue Jan 25, 2022 · 1 comment
Labels
area-workshops closed-obsolete Closed as the reported issue is no longer relevant type-enhancement A request for a change that isn't a bug

Comments

@johnpryan
Copy link
Contributor

johnpryan commented Jan 25, 2022

Workshops often need to tell the user to take an action:

Screen Shot 2022-01-25 at 11 07 11 AM

It could be helpful to add some special syntax for this:

Screen Shot 2022-01-25 at 11 06 44 AM

Screen Shot 2022-01-25 at 11 08 19 AM

We could add some special CSS classes, and authors could add some HTML to their markdown files:

<div class="dartpad-workshop-note">
Note goes _here_.
</div>
@johnpryan johnpryan added type-enhancement A request for a change that isn't a bug area-workshops labels Jan 25, 2022
@johnpryan johnpryan changed the title Display notes, warnings in markdown Add UI for notes, warnings, and tips Jan 25, 2022
@parlough
Copy link
Member

parlough commented May 6, 2024

With #2808, support for workshops was dropped, so I'll close this as obsolete. If anyone reading this desires a feature similar to this in DartPad or a new form of workshops, please discuss that in a new issue. Thanks!

@parlough parlough closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
@parlough parlough added the closed-obsolete Closed as the reported issue is no longer relevant label May 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-workshops closed-obsolete Closed as the reported issue is no longer relevant type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants