# How to create a PDF from a markdown file?

**URL:** <https://help.nextcloud.com/t/how-to-create-a-pdf-from-a-markdown-file/103655>\
**Category:** ℹ️ Support\
**Created:** [January 8, 2021, 2:34pm UTC](https://help.nextcloud.com/t/how-to-create-a-pdf-from-a-markdown-file/103655 "2021-01-08T14:34:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rreboto](https://help.nextcloud.com/letter_avatar/rreboto/32/6_449c533f586939b6e5f246632a46421f.png) [@rreboto](https://help.nextcloud.com/u/rreboto)\
**Post date:** [January 8, 2021, 2:34pm UTC](https://help.nextcloud.com/t/how-to-create-a-pdf-from-a-markdown-file/103655/1 "2021-01-08T14:34:22Z")

</div>

Nextcloud version **21.0.0 beta4**  
Operating system and version docker image `linuxserver/nextcloud:version-20.0.1` upgraded to `21.0.0 beta4`  
Apache or nginx version:

```auto
root@70ff409239d8:/# apk list | grep nginx
nginx-1.18.0-r1 x86_64 {nginx} (BSD-2-Clause) [installed]

```

PHP version _(eg, 7.1)_:

```auto
root@70ff409239d8:/# apk list | grep php
[...]
php7-7.3.24-r0 x86_64 {php7} (PHP-3.01 BSD LGPL-2.0-or-later MIT Zend-2.0) [installed]

```

Hello,

I have created a markdown document with a number of embedded images and a reasonable amount of formatting. I would like to make this into a PDF and am running into problems finding out how. When I try to use the print dialog, I only get a single page that only has the visible part of the document on the screen.

Is there a way to generate a PDF that includes the embedded images from a markdown file?

Thank you.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 9:55pm UTC](https://help.nextcloud.com/t/how-to-create-a-pdf-from-a-markdown-file/103655/2 "2024-12-12T21:55:25Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 9:55pm UTC](https://help.nextcloud.com/t/how-to-create-a-pdf-from-a-markdown-file/103655/3 "2024-12-12T21:55:26Z")

</div>


