pushin icon indicating copy to clipboard operation
pushin copied to clipboard

Add code view to example pages

Open nateplusplus opened this issue 1 year ago • 0 comments

Example pages like https://nateplusplus.github.io/pushin/examples/simple/ could use an easy way to see the source code, so that they can be used as code examples.

  • [ ] Add sub-navigation to example pages
  • [ ] Options for subnav: Result, Vanilla, React
    • [ ] Clicking on Result should show the example as a demo
    • [ ] Clicking on Vanilla should show plain HTML and vanilla JS code used to create the example
    • [ ] Clicking on React should show a React code snippet that can be used to create the example

nateplusplus avatar Jul 15 '22 18:07 nateplusplus