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

starlight-mdconverter

v1.0.2

Published

Convert Starlight DSL Markdown (.slmd) files to standard Markdown (.md)

Readme

Starlight MD Converter

Description: Starlight MD Converter is a tool that allows developers to write documentation in a simple DSL called SLMD and convert it into ready-to-use Markdown files. This is especially useful for maintaining structured documentation or tutorials without manually writing Markdown syntax.

Pros of Starlight MD Converter

  • Simplifies writing documentation using intuitive tags.
  • Automatically converts SLMD to proper Markdown syntax.
  • Supports headings, bold, italic, code blocks, links, lists, colors, and tables.
  • Allows developers to focus on content instead of Markdown formatting.
  • Quick conversion for large documents or tutorials.

Usage Steps

Step 1: Write your SLMD file Create a new file with the extension .slmd. Use the following tags:

  • <big1>, <big2>, <big3> for headings of different levels.
  • <bold>Bold text</bold> to highlight important points.
  • <italic>Italic text</italic> for emphasis.
  • <code>Inline code</code> for commands or snippets.
  • <color colorname>Colored text</color> to indicate colored highlights (optional, shows fallback).
  • <link https://example.com>Example Link</link> to insert clickable links.
  • <ul><li>Item</li></ul> to create lists.
  • <table><tr><td>Cell</td></tr></table> to create tables.

Step 2: Save the SLMD file Save the file with a descriptive name, e.g., documentation.slmd.

Step 3: Create a conversion script (program.sl) Use Starlight CLI to create a script that reads the SLMD file and outputs Markdown:

` import { convertFile } from "starlight-mdconverter"

sldeploy "=== SLMD to Markdown Converter ==="

let inputFile = ask("Enter path to your .slmd file:") let outputFile = ask("Enter path for output .md file:")

convertFile(inputFile, outputFile)

sldeploy "Conversion complete! Markdown file saved." `

Step 4: Run the converter Open the terminal and execute your program.sl with Starlight CLI:

starlight program.sl

Follow the prompts:

  • Provide the full path to your SLMD file.
  • Provide the full path and filename for the output Markdown file.

Step 5: Verify the output After conversion, open the generated .md file in any Markdown editor or viewer. All your SLMD formatting should now be properly converted into Markdown syntax.

Example Table in SLMD

Feature | Supported --- | --- Headings | Yes Bold & Italic | Yes Code | Yes Links | Yes Lists | Yes Tables | Yes Colors | Yes (fallback in Markdown)

Tips for Developers

  • Write content in SLMD naturally; the converter handles Markdown syntax automatically.
  • Use colors only for readability in SLMD; Markdown will show the color name as fallback.
  • Keep consistent file naming for easier management.
  • Test conversion frequently with small SLMD files before working on large documents.

Conclusion

Starlight MD Converter streamlines writing documentation, tutorials, or notes. It allows developers to focus on content rather than Markdown formatting, while ensuring a clean, ready-to-use Markdown output.