Skip to content

Adjust the prompt component to show the prompt by default #2979

Description

@honzajavorek

The prompt component, as used in https://docs.apify.com/actors/development/quick-start/build-with-ai, always hides the prompt. As we're adding prompt examples throughout the docs and in courses, it would be nice if it showed the prompt by default and had an explicit flag for hiding the prompt in case it's long and we just want a prominent copy button. How it looks currently:

Image

When this is done, @marcel-rbro can change his prompts to use this component, and I can change all prompts in my AI course (to be published) to use this as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

t-academyIssues related to Web Scraping and Apify academies.t-docsIssues owned by technical writing team.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions