angular-markdown-directive icon indicating copy to clipboard operation
angular-markdown-directive copied to clipboard

directive markdown issue

Open vergarm opened this issue 9 years ago • 1 comments

How do I use this directive markdown for a contentful field? I can see the contentful entry when rendered but the markdown doesnt work and renders the string as-is. <div btf-markdown="$contentfulEntry.fields.footerText"></div>

I have all the same stuff referenced in my library: angular.min.js, angular-sanitize.js, angular-contentful.min.js, showdown.js and markdown.js. I also have the btford.markdown module dependencies initialized. Has anyone used this in a similar way? Thanks

vergarm avatar Jul 19 '16 20:07 vergarm

Try: <markdown ng-model="$contentfulEntry.fields.gooterText"></markdown>

jrutila avatar Aug 31 '16 13:08 jrutila