Skip to content

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

Open
@sync-by-unito

Description

@sync-by-unito

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

Metadata

Metadata

Assignees

Labels

0 - _TriagingIssue is accepted, but a milestone has yet to be added for the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions