ngx-markdown
Angular markdown component/directive/pipe/service to parse static
... and/or directive, you will be able to use the lineNumbers property to activate the plugin. The property can be used in combination with either data for variable binding, src for remote content or using transclusion for static markdown.