Back to Features
Integration

CLI Tool

Pipe markdown from your terminal directly to Ohai for instant rendered preview.

Usage

Pipe content directly
echo "# Hello World" | ohaimarkdown
View a file
cat README.md | ohaimarkdown
Open with default app
open -a "Ohai Markdown Reader" README.md

Installation

Install the CLI tool from Ohai's settings. Once installed, the ohaimarkdown command is available in your terminal.

Path: Settings → Command Line Tool → Install

Use cases

Quick Preview

Instantly preview any markdown content without creating a file.

Pipe Script Output

Send the output of scripts or commands directly to Ohai for viewing.

Script Integration

Include Ohai in shell scripts for automated markdown visualization.

Git Hooks

Preview changelogs or documentation in pre-commit hooks.

Ready to preview from your terminal?

Download for Mac