OasisDigital / ng-doc-portal

An Nx plugin & Angular module set that allows you to build documentation applications natively in Angular! This project has a focus on documenting Angular components (e.g. component library), but it can be used for any documentation needs you might have in Angular.
3 stars 0 forks source link

Expand markdown functionality to provide a directive for html element base markdown #3

Closed zjkipping closed 1 year ago

zjkipping commented 1 year ago

Currently we have a ngdp-markdown component that will take in a TS string variable of markdown content or a hosted file location to download.

It would be great if we could have a third option to throw a directive on a <pre> or some other element to render the "html" as if it was markdown; including the markdown syntaxes.

zjkipping commented 1 year ago

Added in v1.3.0