npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@plusify/ngx-markdown-editor

v0.0.8

Published

A customizable Markdown editor for Angular with KaTeX support, syntax highlighting, and a modern toolbar.

Readme

Plusify Markdown Editor

A lightweight, extensible, and user-friendly Markdown Editor built with Angular. It features a custom toolbar, live preview, support for KaTeX, copy to clipboard, and interactive popovers for inserting images, links, and headings.

Vista previa


✨ Features

  • Modular architecture with reusable components.
  • Markdown input with syntax helpers (bold, italic, lists, etc.).
  • Insert links and images through popovers.
  • Select heading levels with a quick menu.
  • Synchronized scrolling (optional).
  • Live preview powered by ngx-markdown and KaTeX.
  • Customizable theme with CSS variables.

Getting Started

1. Install Required Dependencies

Run the following command to install @plusify/ngx-markdown-editor along with its peer dependencies:

npm install @plusify/ngx-markdown-editor ngx-markdown marked prismjs katex clipboard

2. Configure angular.json

Add the following entries in your angular.json under the corresponding build and test targets:

"styles": [
  "node_modules/prismjs/themes/prism-okaidia.css",
  "node_modules/katex/dist/katex.min.css"
],
"scripts": [
  "node_modules/prismjs/prism.js",
  "node_modules/clipboard/dist/clipboard.min.js",
  "node_modules/katex/dist/katex.min.js",
  "node_modules/katex/dist/contrib/auto-render.min.js"
]

Note: Angular CLI does not automatically apply these configurations. You must add them manually to enable syntax highlighting and KaTeX rendering.


3. Use the Component

<plusify-markdown-editor
  [config]="config"
  [customTheme]="{ '--color-primary': '#4caf50' }"
  (valueChange)="handleValueChange($event)">
</plusify-markdown-editor>
config: MarkdownEditorConfig = {
   showPreview: false,
   readonly: false,
};

handleValueChange(newValue: string) {
  console.log('Updated Markdown:', newValue);
}

Components Overview

<plusify-markdown-editor>

The main editor wrapper. Provides toolbar, textarea, and live preview.

| Input | Type | Description | | ------------- | ------------------------ | ----------------------------------- | | themeClass | string | Optional theme class. | | customTheme | Record<string, string> | CSS variable overrides. | | config | MarkdownEditorConfig | Initial config options. |


🎨 Theming

Customize using CSS variables:

:root {
  --color-primary: #009b77;
  --color-on-primary: #fff;
  --color-outline: #ccc;
  --color-on-surface: #222;
}

Or override directly:

<plusify-markdown-editor
  [customTheme]="{ '--color-primary': '#4caf50' }">
</plusify-markdown-editor>

📦 Dependencies


🙌 Contributing

Pull requests are welcome! If you want to add new features or improve the existing ones, feel free to fork the project and submit a PR.