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

handle_docsify_plugin_callouts

v1.0.0

Published

A beautiful Docsify plugin that adds styled callout boxes (NOTE, WARNING, TIP, INFO) to your documentation.

Downloads

15

Readme

Docsify Callout Plugin

A beautiful Docsify plugin that adds styled callout boxes (NOTE, WARNING, TIP, INFO) to your documentation.

Features

  • 🎨 4 callout types: NOTE (teal), WARNING (red), TIP/FEATURE NOTICE (olive), INFO (blue)
  • Icons: Each callout has a unique icon (ℹ, ⚠, ★)
  • 📝 Full markdown support: Bold, italic, lists, code blocks, links
  • 🌙 Dark mode ready: CSS includes dark mode support
  • Lightweight: Minimal CSS and JS

Demo

The demo is running at http://localhost:9999/ with all callout examples.

Installation

1. Copy Files

Copy these files to your Docsify project:

docsify-callout.js      # The plugin
docsify-callout.css     # The styles

2. Update index.html

Add the CSS and JS to your index.html:

<!DOCTYPE html>
<html>
<head>
  <!-- Your existing styles -->
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
  
  <!-- Add the callout styles -->
  <link rel="stylesheet" href="docsify-callout.css">
</head>
<body>
  <div id="app"></div>

  <script>
    // Docsify config
    window.$docsify = {
      name: 'Your Docs',
      // ... other config
    };
  </script>
  
  <!-- Add the callout plugin BEFORE docsify -->
  <script src="docsify-callout.js"></script>
  
  <!-- Docsify -->
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
</body>
</html>

Usage

In your markdown files, use this syntax:

> [!NOTE]
> Your note content here.

> [!WARNING]
> Your warning content here.

> [!TIP]
> Your tip or feature notice content here.

> [!INFO]
> Your info content here.

Examples

NOTE

> [!NOTE]
> To support the flexible use of your hardware, VBS4 supports an *Offline* use case.

WARNING with Lists

> [!WARNING]
> While berms are functional in VBS4, Editor Objects with underground cutting are not.
> - To create berms, see [Earthworks (Berms)](#), or use VBS Geo.
> - To create trenches, use VBS Geo.

TIP / Feature Notice

> [!TIP]
> Bohemia Interactive Simulations intends to enable the majority of these features in future releases.

Full Markdown Support

> [!NOTE]
> **Bold text**, *italic text*, and `inline code` are all supported.
> 
> - List item 1
> - List item 2
> - List item 3
>
> ```javascript
> // Even code blocks work!
> console.log("Hello from callout!");
> ```

Customization

You can customize the callout titles and colors in your Docsify config:

window.$docsify = {
  callout: {
    types: {
      note: { icon: 'ℹ', title: 'NOTE', color: '#008080' },
      warning: { icon: '⚠', title: 'WARNING', color: '#c0392b' },
      tip: { icon: '★', title: 'FEATURE NOTICE', color: '#7d8c3f' },
      info: { icon: 'ℹ', title: 'INFO', color: '#3498db' }
    }
  }
};

File Structure

docsify-callout-demo/
├── index.html              # Demo page
├── README.md               # Demo content with all examples
├── docsify-callout.js      # Plugin (copy to your project)
└── docsify-callout.css     # Styles (copy to your project)

Running the Demo Locally

cd docsify-callout-demo
python3 -m http.server 9999
# Open http://localhost:9999/

Or use any static file server:

npx serve .
# or
npx http-server .

Browser Support

  • Chrome/Edge (latest)
  • Firefox (latest)
  • Safari (latest)
  • All modern browsers with CSS3 support

License

MIT License