angularjs - angular-markdown-directive not displaying content as HTML -


i'm trying angular-markdown-directive working in angular app i've had no success yet.

i've followed instructions (included sanitize, showdown , markdown etc) , added:

<btf-markdown>   #markdown directive   *it works!* </btf-markdown> 

into page markdown renders is, not html.

i've included scripts too;

<script src='/bower_components/showdown/src/showdown.js'></script> <script src='/bower_components/angular-markdown-directive/markdown.js'></script> 

and module btford.markdown

there no errors in console either i'm unsure issue - i'm hoping else has advice on matter.

my version of markdown 0.3.1

most of time <btf-markdown> directive not working expected. face same issue while using , move on , create own directive it.

here plunker

it working fine me , hope you.

don't forgot add showdown lib

showdown lib


Comments