Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.1 KB

2-Configuration.md

File metadata and controls

41 lines (30 loc) · 1.1 KB

2. Configuration

<?php

return [

    /* -----------------------------------------------------------------
     |  Set Safe mode
     | -----------------------------------------------------------------
     */

    'safe-mode' => false,

    /* -----------------------------------------------------------------
     |  Escape Cross-site scripting
     | -----------------------------------------------------------------
     | Allowing or not to escape the JavaScript in anchor tags.
     | e.g. markdown like "[Link](javascript:alert('hello'))".
     */

    'xss' => true,

    /* -----------------------------------------------------------------
     |  Automatically link URLs
     | -----------------------------------------------------------------
     | Allowing or not to automatic-linking of URLs in your markdown.
     */

    'urls' => true,

    /* -----------------------------------------------------------------
     |  Escape Markups
     | -----------------------------------------------------------------
     | Allowing or not to escape the HTML markups.
     */

    'markups' => true,

];