We are looking to create a sample gallery with source code examples.
Including typescript, html, and HTML files to showcase similar to the Angular.io component samples pages.
Is there a way to extract the source code from a typescript file within our project directory and display it?
The Angular.io utilizes this component https://github.com/angular/angular/blob/main/aio/src/app/custom-elements/code/code-example.component.ts, but the build and rendering process seems overly complex...
- Eric