Skip to main content
SoMark provides a command-line tool for use directly in your terminal.

Installation

npm install -g somark-cli

Commands

somark parse

Parse a document file.
somark parse <file> [options]
Options:
OptionDescription
-o, --outputOutput file path
-f, --formatOutput format (markdown / json)
-k, --api-keyYour API Key

somark batch

Parse multiple files in a directory.
somark batch <directory> [options]