Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Allow for dynamic values to be injected into code blocks #1129

Open
2 tasks done
sync-by-unito bot opened this issue Jan 31, 2025 · 0 comments
Open
2 tasks done

Allow for dynamic values to be injected into code blocks #1129

sync-by-unito bot opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
0 - _Triaging Issue is accepted, but a milestone has yet to be added for the issue

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Jan 31, 2025

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

We want our scripts to be customizable to the user, and have them ready to go once they are copied over. Right now, a user would need to copy a code block, and then adjust variables in the script before it would work.

Describe The Solution. Why is it needed?

Create the functionality to allow a user to enter values and have those values injected dynamically into a code block. When the user goes to copy the code block, the entered values are copied as well. We currently have this functionality on https://chocolatey.org/install, however, it is very tied to that specific instance. We need to make this functionality more modular, and somehow allow any input variable to be entered in.

Additional Context

For now, this will go on docs, however it could be expanded to be used anywhere on any site.

Related Issues

  • ENGTASKS-4263

┆Issue is synchronized with this Github issue by Unito

@sync-by-unito sync-by-unito bot added the 0 - _Triaging Issue is accepted, but a milestone has yet to be added for the issue label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - _Triaging Issue is accepted, but a milestone has yet to be added for the issue
Projects
None yet
Development

No branches or pull requests

1 participant