ljvmiranda921 / sprites-as-a-service

Generate your personal 8-bit avatars using Cellular Automata, a mathematical model that simulates life, survival, and extinction
https://ljvmiranda921.github.io/sprites-as-a-service
MIT License
303 stars 19 forks source link

Implement code snippets via a Tablist #25

Closed ljvmiranda921 closed 4 years ago

ljvmiranda921 commented 4 years ago

It may be nice to have something like this: https://cloud.google.com/bigquery/docs/quickstarts/quickstart-client-libraries#client-libraries-install-ruby

We can implement this via a Tab: https://www.w3schools.com/howto/howto_js_tabs.asp This should definitely take the config as an input, then outputs the code snippet based on the viewed language. Our code snippets can then be: cURL, Go, Python, Javascript

Also, in our design, we planned to have it side-by-side with the explanation of each parameter. So on the left pane we have the parameter explanations, then on the right pane we have the tablist. The Issue for the parameter explanations will be covered by #24