DEV Community

johnblommers
johnblommers

Posted on

Markdown + ChatGPT

Anybody interested in harnessing the power of ChatGPT with Markdown might drop by Ryan Elston's excellent introduction to his tool Mark and read Introducing 'Mark', a Markdown CLI tool for GPT4o.

The Mark command line tool accepts a Markdown file as input. That file may refer to other files, including images. All output is appended to the input Markdown file.

For example, you may have a picture of a table containing numbers. Refer to that picture in the Markdown file with instructions to OCR it and return a Markdown table with the data. I did that and it worked perfectly.

The Markdown file may contain a textual description, and ChatGPT will generate a picture for you.

Of course, you will need an OPENAI API KEY.

Top comments (0)