Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
Revert "make it possible to disable block and inline types (#7)"
Browse files Browse the repository at this point in the history
This reverts commit ab76e0d.
  • Loading branch information
eagostini authored Jan 6, 2020
1 parent ab76e0d commit 80972e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
8 changes: 0 additions & 8 deletions src/Providers/ParsedownServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ public function register(): void
Config::get('parswdown.urls_linked')
);

$parsedown->setDisabledBlockTypes(
Config::get('parsedown.disabled_block_types')
);

$parsedown->setDisabledInlineTypes(
Config::get('parsedown.disabled_inline_types')
);

return $parsedown;
});

Expand Down
14 changes: 0 additions & 14 deletions src/Support/parsedown.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,4 @@
* @see https://github.com/erusev/parsedown/wiki/Usage
*/
'urls_linked' => true,

/**
* Tells **Parsedown** which block types to disable.
*
* @see https://github.com/erusev/parsedown/wiki/Usage
*/
'disabled_block_types' => [],

/**
* Tells **Parsedown** which inline types to disable.
*
* @see https://github.com/erusev/parsedown/wiki/Usage
*/
'disabled_inline_types' => [],
];

0 comments on commit 80972e3

Please sign in to comment.