marklassian-cli
v1.0.1
Published
CLI tool to convert Markdown to Atlassian Document Format (ADF)
Maintainers
Readme
marklassian-cli
CLI tool to convert Markdown to Atlassian Document Format (ADF).
This is a CLI wrapper for marklassian by @jamsinclair.
npm: https://www.npmjs.com/package/marklassian-cli
Installation
npm install -g marklassian-cliOr use directly with npx:
npx marklassian-cli -i README.mdUsage
# Convert file and print to stdout
marklassian -i README.md
# Convert file and write to output file
marklassian -i README.md -o output.json
# Pipe input from stdin
cat README.md | marklassian
# Pipe input and redirect output
echo "# Hello World" | marklassian > hello.jsonOptions
| Option | Description |
|--------|-------------|
| -i, --input <file> | Input markdown file |
| -o, --output <file> | Output ADF file (default: stdout) |
| -h, --help | Show help message |
| -v, --version | Show version number |
Credits
All the heavy lifting is done by marklassian. This package simply provides a CLI interface.
License
MIT
