Socket
Socket
Sign inDemoInstall

ngx-markdown

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-markdown

Angular library that uses marked to parse markdown to html combined with Prism.js for synthax highlights


Version published
Weekly downloads
144K
decreased by-0.79%
Maintainers
1
Weekly downloads
 
Created

What is ngx-markdown?

ngx-markdown is an Angular library that allows you to use Markdown in your Angular applications. It provides a set of directives and services to easily render Markdown content.

What are ngx-markdown's main functionalities?

Render Markdown from a string

This feature allows you to render Markdown content directly from a string within your Angular templates.

<markdown># Hello World</markdown>

Render Markdown from a URL

This feature allows you to render Markdown content from an external file by specifying the URL.

<markdown src="path/to/markdown/file.md"></markdown>

Render Markdown from a variable

This feature allows you to bind a variable containing Markdown content to the markdown component.

<markdown [data]="markdownContent"></markdown>

Syntax highlighting

This feature allows you to enable syntax highlighting for code blocks within your Markdown content.

<markdown [data]="markdownContent" [lineNumbers]="true"></markdown>

Other packages similar to ngx-markdown

Keywords

FAQs

Package last updated on 23 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc