mendown
v0.0.0
Published
Next Generation Markdown Tooling.
Downloads
1
Readme
Mendown: Next Generation Markdown Tooling
Introduction
Mendown
is a powerful, next-generation tool designed to enhance your Markdown documents. Mendown
integrates advanced features like automatic image description and link validation, making it an indispensable tool for Markdown users.
Features
- Image Description: Automatically generates descriptions for images in your Markdown files, utilizing OpenAI's GPT-4 Vision model.
- Link Validation: Checks and reports broken links in your document, ensuring the integrity of your Markdown file.
Installation
To install Mendown
, use the following command:
pnpm i -g mendown
This command installs Mendown
globally on your system, allowing you to use it in any directory.
Usage
To use Mendown
, simply run it from the command line with your desired Markdown file:
mendown <file>
To use
image-describer
, you must set theOPENAI_API_KEY
environment variable to your OpenAI API key.
Command Line Options
<file>
: Path to the Markdown file to convert.-o, --output <file>
: Specify an output file. If not provided,Mendown
will output to stdout.-w, --write
: Enables in-place editing of the input file.-t, --tool <...tools>
: Specify tools to enable. By default, all tools are enabled. Available tools arelink-probe
andimage-describer
.
Examples
Basic Usage: Convert a Markdown file and output to stdout.
mendown myfile.md
Specifying an Output File: Convert and output to a specific file.
mendown myfile.md -o output.md
In-Place Editing: Edit the Markdown file directly.
mendown myfile.md -w
Using Specific Tools: Only use the link-probe tool.
mendown myfile.md -t link-probe
Contributing
Contributions to Mendown
are welcome! Visit the GitHub repository to contribute.
License
Mendown
is licensed under AGPL-3.0.
Contact
For any queries or issues, please open an issue on the GitHub issues page.