-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparsedown.php
38 lines (33 loc) · 1.04 KB
/
parsedown.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
return [
/**
* Tells **Parsedown** if it should convert line breaks such as `\n` into `<br />` tags.
*
* @see https://github.com/erusev/parsedown/wiki/Usage
*/
'breaks_enabled' => false,
/**
* Tells the `parsedown()` helper and the `@parsedown` **Blade** directive if the user input should be inline parsed by default.
*
* @see https://github.com/erusev/parsedown/wiki/Usage
*/
'inline' => false,
/**
* Tells **Parsedown** if it should escape **HTML** in trusted input. This method isn't safe from XSS!
*
* @see https://github.com/erusev/parsedown#escaping-html
*/
'markup_escaped' => false,
/**
* Tells **Parsedown** if it needs to process untrusted user-input.
*
* @see https://github.com/erusev/parsedown#security
*/
'safe_mode' => true,
/**
* Tells **Parsedown** if it should automatically convert urls into anchor tags.
*
* @see https://github.com/erusev/parsedown/wiki/Usage
*/
'urls_linked' => true,
];