Commit 57c742be authored by Noah Manneschmidt's avatar Noah Manneschmidt

Update readme

parent 1253d731
PDFEmbed
========
PDFEmbed allows Adobe Acrobat PDF files to be embedded into a wiki article using <pdf></pdf> tags. The PDF file extension is automatically added and necessarily default permissions are configured. Future functionality will allow this extension to act as a media handler for PDF files.
[PDFEmbed](https://www.mediawiki.org/wiki/Extension:PDFEmbed) allows Adobe Acrobat PDF files to be embedded into a wiki article using <pdf></pdf> tags. The PDF file extension is automatically added and necessarily default permissions are configured. Future functionality will allow this extension to act as a media handler for PDF files.
Installation
------------
To install this extension, add the following to the end of the LocalSettings.php file:
```
```php
//PDFEmbed
require("$IP/extensions/PDFEmbed/PDFEmbed.php");
```
......@@ -16,9 +16,9 @@ Configuration
---------------------
If the default configuration needs to be altered add these settings to the LocalSettings.php file below the require:
```
```php
//Default width for the PDF object container.
$pdfEmbed['width'] = 800;`
$pdfEmbed['width'] = 800;
//Default height for the PDF object container.
$pdfEmbed['height'] = 1090;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment