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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@neo4j-antora/antora-add-notes

v0.3.2

Published

Add asciidoc blocks into the top of pages based on page attributes

Readme

antora-add-notes

Use the antora-add-notes extension to add asciidoc into the top of pages.

The extension uses Page Attributes to define content to be added to the top of a page, immediately below the title.

Usage

Define attributes in an Antora playbook, antora.yml, or asciidoc page header.

page-add-notes-module

Use the page-add-notes-module attribute to specify the name of the module that contains the asciidoc you want to add. If page-add-notes-module is not specified, the ROOT module is used.

page-add-notes-module: my-notes@

page-add-notes-tags

page-add-notes-tags: tag-1;tag-2@

Tagged sections are read from {page-add-notes-module}:partial$/notes.adoc.

To include multiple tags, add the tags as a list, for example page-add-notes-tags: review;preview.

page-add-notes-versions

By default the note is displayed in all versions of all pages. Use the page-add-notes-versions attribute to specify which versions of the HTML pages you want the note to be displayed on. If you do not include this attribute, notes will be added to pages in all versions.

page-add-notes-versions: ['5', '4.4']

Example

  1. Create modules/my-notes/partials/notes.adoc with the following content:

    # tag::preview[]
    [NOTE]
    ====
    This is preview content
    ====
    # end::preview[]
  2. In your Antora playbook file, add an asciidoc attribute - page-add-notes-module: my-notes

  3. In your Antora playbook file, add an asciidoc attribute - page-add-notes-tags: preview

  4. Use Antora to generate HTML.