Skip to content

dartpad.dev parse embedding URL params #3118

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
b-spatz opened this issue Jan 13, 2025 · 5 comments
Closed

dartpad.dev parse embedding URL params #3118

b-spatz opened this issue Jan 13, 2025 · 5 comments

Comments

@b-spatz
Copy link

b-spatz commented Jan 13, 2025

How about support for URL params (e.g. split, theme, run, etc.) in dartpad.dev URLs?
https://github.com/dart-lang/dart-pad/wiki/Embedding-Guide/5b7e778a5ff02bcca8bdba0d03eff7941cafa36b

@johnpryan
Copy link
Contributor

These were trimmed down from the previous version for maintenance reasons, we still support some of these parameters. For more info, see this issue: #2808

@johnpryan johnpryan closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2025
@b-spatz
Copy link
Author

b-spatz commented Feb 18, 2025

"maintenance reasons"

@johnpryan
Copy link
Contributor

We support these parameters:

  • id
  • sample
  • sample_id
  • channel
  • embed
  • run

We don't support the split param anymore. Could you share more what you are trying to do?

@b-spatz
Copy link
Author

b-spatz commented Feb 18, 2025

That is helpful. Thank you. Please consider adding this to https://github.com/dart-lang/dart-pad/wiki/Sharing-Guide as it is linked from dartpad.dev (top-right).

@johnpryan
Copy link
Contributor

Good suggestion, added.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants