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 🙏

© 2024 – Pkg Stats / Ryan Hefner

ilm-md

v1.0.11

Published

ILM Markdown Parser

Downloads

6

Readme

ILM-md

Custom markdown parser for ILM -- with simple client script for creating ILM documents in a text-editor.

Cool Features

  • Yaml front-matter metadata
  • Add attributes to headers and blocks
  • Understands transliterated glyph characters
  • Client URL for creating/viewing formatted content
  • Auto paragraph numbering
  • Parse to simple HTML or JSON object

Starting an ILM document

  1. rename your MD file to use a .html extension
  2. paste in this script at the top: <script src="https://chadananda.github.io/ilm-md/dist/ilm-md-inline-debug.js"></script>
  3. open file in browser to view formatting
  4. see example here: https://chadananda.github.io/ilm-md

Formatting Options

Front-matter

Documents often need meta-data such as title, author, copyright, etc. These can be added at the top of any document with a YAML-style header like this:

---
title: Moby Dick
author: Herman Melville 
description:  The story Captain Ahab’s obsessive quest for revenge on Moby Dick, the white whale that on a previous whaling voyage bit off his leg at the knee.
date_published: October 18, 1851 
characters: Captain Ahab, Ishmael, Queequeg, Moby Dick, Captain Boomer, Starbuck, Stubb, Elijah 
---

Headers and Sections

Text can be split up into sections by use of the H2 header (indicated in Markdown by starting a line with ##).

Block Classes {.likethis}

Classes and attributes can be added to any text block Pandoc-style by appending a line with the list of classes, id and attributes. In the case of headers and sub-headers, these should be added on the same line. (Since Markdown does not support multi-line headers).

## This is a header {.subtitle}

This is a paragraph block without any additional classes.

This a paragraph with dropcaps and blockquote indent.
{.dropcap .blockquote}

Header Attributes include:

  • For document: .title .author .subtitle .copyright
  • For section numbering:
    • "+", "-" to toggle prefix
    • Literal value like "preface"
    • Specific number to set numering like "44"
  • For table of contents
    • toc="" to override table of contents display
    • .toc1, .toc2, .toc3 to specify toc level
  • For formatting: .center .right

Block Attributes include

  • Formatting: .dropcap .blockquote .center .right
  • List styles: .list .verse
  • Unnumbered types: .ed .sig .sit .noid

Footnotes

  • Footnotes are standard MD ([^#]) but are rendered as blocks immediately following the paragraph

Page Markers

  • The tag [pg #] or [pg#] will be rendered

Underscored transliterations

  • K_h, D_h, T_h, C_h and Z_h will be rendered as Kh

Rule lines

  • Small rules can be done MD style like ---
  • Large rules can be done with a long line like --------- or a series of equal signs like ========