]> BookStack Code Mirror - website/blobdiff - content/docs/admin/pdf-rendering.md
Improved code highlighting using codemirror
[website] / content / docs / admin / pdf-rendering.md
index 18755f4d65e91303a74322f579e0ad403205775b..8757124804c16cb6585d0d7d62a9747f05ba1e7a 100644 (file)
@@ -13,9 +13,9 @@ As an alternative you can use [wkhtmltopdf](http://wkhtmltopdf.org/) to generate
 
 Pre-compiled binaries for wkhtmltopdf can be found on the downloads page of [their website](http://wkhtmltopdf.org/downloads.html). BookStack will check for a file named `wkhtmltopdf` at the base folder of a BookStack install. If found it will use that to render PDF's. If that does not exist it will check for a `WKHTMLTOPDF` variable in the `.env` file. You can use this variable to set an alternate location to wkhtmltopdf:
 
-```
+```bash
 # In .env file
 WKHTMLTOPDF=/home/user/bins/wkhtmltopdf
 ```
 
-If neither of those exist Dompdf will be used instead.
\ No newline at end of file
+If neither of those exist Dompdf will be used instead.