
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
angular-markdown-directive
Advanced tools

Bower Component for a simple AngularJS Markdown directive using Showdown. Based on this excellent tutorial by @johnlinquist.
bower install angular-markdown-directiveangular-sanitize.js. It should be located at bower_components/angular-sanitize/.showdown.js. It should be located at bower_components/showdown/.markdown.js provided by this component into your app.btford.markdown as a module dependency to your app.btf-markdown directive into your template:<btf-markdown>
#Markdown directive
*It works!*
</btf-markdown>
You can also bind the markdown input to a scope variable:
<div btf-markdown="markdown">
</div>
<!-- Uses $scope.markdown -->
Or include a markdown file:
<div btf-markdown ng-include="'README.md'">
</div>
<!-- Uses content from README.md -->
You can configure the markdownConverterProvider:
angular.module('myApp', [
'ngSanitize',
'btford.markdown'
]).
config(['markdownConverterProvider', function (markdownConverterProvider) {
// options to be passed to Showdown
// see: https://github.com/coreyti/showdown#extensions
markdownConverterProvider.config({
extensions: ['twitter']
});
}])
MIT
FAQs
simple AngularJS markdown directive with showdown
The npm package angular-markdown-directive receives a total of 499 weekly downloads. As such, angular-markdown-directive popularity was classified as not popular.
We found that angular-markdown-directive demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.