We want to show source code example into a sample gallery.
We have typescript , html and HTML files we want to show as it is done into the angular.io component samples pages.
Do you know how to get the source code from the path of a typescript file already in our project and render it ?
for the angular.io they use this component https://github.com/angular/angular/blob/main/aio/src/app/custom-elements/code/code-example.component.ts but with complex build and rendering, too complex... Eric