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

add a Code component for dynamic code content #7425

Open
josefaidt opened this issue May 2, 2024 · 0 comments
Open

add a Code component for dynamic code content #7425

josefaidt opened this issue May 2, 2024 · 0 comments
Labels
amplify/docs-engineering Issues with the docs site itself, NOT its content feature-request Request a new feature

Comments

@josefaidt
Copy link
Contributor

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

add an "Code" component for when we're looking to render content imported, fetched, or otherwise rendered programmatically -- outside of the usual fenced code blocks

https://next-docs.amplify.aws/react/reference/amplify_outputs/#schema-reference

Describe the solution you'd like
A clear and concise description of what you want to happen.

<Code>
{JSON.stringify(someObject, null, 2)}
</Code>

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@josefaidt josefaidt added feature-request Request a new feature amplify/docs-engineering Issues with the docs site itself, NOT its content labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amplify/docs-engineering Issues with the docs site itself, NOT its content feature-request Request a new feature
Projects
None yet
Development

No branches or pull requests

1 participant