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

@mithray/smd

v0.1.15

Published

A markdown flavor designed to be modular, customizable, with additional options like styling and HTML wrapping.

Downloads

14

Readme

Semantic Markdown (SMD)

Introduction

DON'T USE THIS YET! I RECOMMEND WAITING FOR VERSION 1.0.0

Semantic Markdown is a bit like a custom markdown development environment as well as contains a default implementation in javascript. The default implementation of SMD attempts to make easy marking up web pages with good HTML5 and schema, and contains tools for adding styling, so you can run it on a markdown document and immediately sent to a friend or upload it.

Contents

Purpose

The purpose of this project is to:

  • Help create custom markdown flavors.
  • Translate markdown flavors into each other.
  • Make markdown settings an authoring choice, not a developer choice.
  • Create a powerful, intuitive default implementation with many "bells and whistles".
  • Provide Authoring language suggestions similarly to Grammarly and Readable, but integrated into the development pipeline.
  • Make Semantic HTML and Schema markup easy and fun to create.
  • Making authoring fun.

Design

  1. Hackable.
  2. Human Readable.
  3. Expressive. Low language redundancy. This is similar to Pythons principle of There's Only One Way To Do It
  4. Input and Output Document should look as close as is possible. For example, a plain text file written in SMD should resemble how a browser renders the output HTML.
  5. Sticks as close as possible to the original markdown.

The principles here are given in order of preference. The construction of the default syntax is decided as deductively as possible around these principles. Due to the first principle being "hackable", you can essentially re-order the guiding principles according to your own preference. Eventually, a full specification of a markdown ruleset should be able to translate into any other ruleset. :smile: :grinning:

Roadmap

  • [ ] Base Rules
    • [ ] headings
      • [x] h1-h6: left side atx headings
      • [ ] h1-h6: two side atx headings
      • [ ] h1-h6: setext style headings
    • [x] ul
    • [x] li
    • [ ] ol
    • [x] phrasing
      • [x] em
      • [x] strong
      • [x] sub
      • [x] sup
    • [ ] Code
      • [x] inline code
      • [x] block code
      • [ ] testing
  • [ ] Meta
    • [ ] Wrapping with HTML boilerplate
    • [ ] Including css styles
  • [x] Critic
    • [x] insert
    • [x] delete
    • [x] mark
    • [x] comment
  • [ ] Links
    • [ ] Inline links
    • [ ] Reference links
    • [ ] Schema ontology links
  • [ ] Interpreters
    • [ ] Mathjs
      • [x] Math expression toTex
      • [x] Evaluate inline Math
      • [ ] testing
    • [ ] inline javascript
    • [ ] chart.js (charts)
    • [ ] mermaid.js (uml digrams)
    • [ ] abcjs (music)
  • [ ] Language and Syntax Tools
    • [ ] Browser Inline Dictionary lookup
    • [ ] readeasy suggestions on compilation
  • [ ] Front Matter
  • [ ] Editing of rules using YAML files
  • [ ] Writing yaml rulesets for various markdown flavors
  • [ ] Include Components
    • [ ] Forms
    • [ ] Video
    • [ ] Audio

These are various flavors of markdown, some or all for which I hope to write rulesets using smd interpretable yaml specifications.

Release Notes

Release 0.1.15

  • Tidy README.md

Release 0.1.14

add to readme specs

Release 0.1.13

added keywords to package.json

Release 0.1.12

tidy readme

Release 0.1.8

  • basic functionality
  • headers
  • unordered list

Phrasing Markup

  • em
  • strong
  • sub
  • sup

Critic Markup

  • ins
  • del
  • mark
  • comment

Math

  • mathjax