Thanks to visit codestin.com
Credit goes to github.com

Skip to content

eetann/mdjanai

Repository files navigation

link to npm.js

mdjanai

A CLI tool that converts Markdown to Slack-compatible rich text format.

mdjanai before after

Features

  • Slack-optimized conversion: Converts Markdown to HTML optimized for Slack's rich text format
  • Smart heading handling: Transforms Markdown headings (# Title) to bold text while preserving the # symbol for visual clarity
  • Natural line breaks: Automatically handles line breaks in your text
  • Multiple input methods: Read from files, command-line arguments, or clipboard
  • Automatic clipboard integration: Copies converted HTML to clipboard (macOS only)

Installation

npm install -g mdjanai

Usage

From command-line arguments

mdjanai "# My Title
**Bold text** and *italic text*"

From a file

mdjanai --file path/to/your/document.md

From clipboard (macOS)

Simply run the command without arguments to automatically read from your clipboard:

mdjanai

Roadmap

  • Heading
  • Bulleted list
  • Numbered list
  • Checkbox
  • Text formatting
    • Bold
    • Italic
    • Strikethrough
    • Inline code
  • Link
  • Table
  • Code block
  • Quote
  • Callout
  • Horizontal rule

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published