markdown-to-html-pipe
markdown-to-html-pipe copied to clipboard
allow for inline ouput using additional pipe param
Added an additional arg so the user can use the inlineLexer to prevent the output of the p parameter. I'm new to the world of pipes but figured this might be the best way to do it.
So an example with the additional argument would be:
[innerHTML]="t.text || t.full_text | MarkdownToHtml:{}:true"
I'm adding this functionality because I am leveraging your functionality in one of my projects and could use it as well.