Convert MD to JPG
Turn MD files into JPEG files. Typeset in Libertinus Serif with code in DejaVu Sans Mono on A4 pages unless page_size says letter, with headings, lists, tables, code and embedded images.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MD files on the dialor turn it to pick what to do
Markdown pages as JPG images.Each page of the typeset document becomes one JPG file.
What you get
The Markdown is typeset in Libertinus Serif, with code in DejaVu Sans Mono. Headings, lists, tables, code and embedded images are drawn on the page.
Pages are A4 unless Page size says Letter. Each page becomes one JPG, at 150 dpi and Quality 90 unless you ask for something else. A document with several pages gives you several files.
Size and detail
Set Resolution (dpi) to choose how many pixels each inch of the page becomes. Around 150 reads well on screen, and 300 is the usual choice for print. Higher is sharper and makes a bigger file.
Set Width (px) to give the result an exact width. The height follows the aspect ratio unless you also give a height, in which case the picture can be stretched.
Quality sets how much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
Page size and page range
Page size has three choices: A4 at 210 × 297 mm, Letter at 8.5 × 11 in, and auto, where each page takes the size of its own content.
Set Pages to convert only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when Pages is left out.
MD and JPG.What each format is, and the options this conversion takes.
- 01 · dpi
Resolution (dpi)
How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.
36 to 600 default 150 - 02 · page_size
Page size
The size of the pages written. A4 is the standard in most of the world and Letter in North America.
a4210 × 297 mm.letter8.5 × 11 in.autoEach page takes the size of its own content.
- 03 · pages
Pages
Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.
- 04 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 05 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000
The formats
Markdown
Plain text with light markup for headings, lists, links and code. What agents and developers write in.
- Extensions
- .md .markdown .mdown
- MIME type
- text
/markdown - Kind
- Text and data
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same MD to JPG conversion through the API, for your app or your agent.
$ cv convert report.md report/ --to jpeg$ cv convert report.md report/ --to jpegQuestions.What people ask about MD to JPG.
Each page becomes one JPG, so a short document gives one file and a longer document gives several.
Yes. Set Pages to a range such as 1-3,7, and only those pages are converted.
Text is set in Libertinus Serif and code in DejaVu Sans Mono. The page is A4 unless Page size says Letter.
Yes. JPG uses lossy compression, and Quality sets how much detail it keeps. The default is 90.