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

expose more config in use Surface.Catalogue #11

Open
olivermt opened this issue Apr 22, 2021 · 1 comment
Open

expose more config in use Surface.Catalogue #11

olivermt opened this issue Apr 22, 2021 · 1 comment

Comments

@olivermt
Copy link
Collaborator

surface-ui/surface_site#27 we should really expose the possible prop settings for #Code in the playground macro usage, so you can expose more lines.. some of my playground and examples (like table) should also show the stuff above render(..) to be even better docs

@msaraiva
Copy link
Member

@olivermt would it be enough to have a link to the source of the example?

Additionally, you can still add any code snippet to the @moduledoc of the example. Like:

image

I could even add support for code highlighting for the snippets ;)

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

No branches or pull requests

2 participants