From 73513e63b56a269c635dc64acf08e789aaa06f4b Mon Sep 17 00:00:00 2001 From: Kiryl Date: Thu, 16 Jun 2022 13:18:58 +0300 Subject: [PATCH] Update style_config with pre code --- doc/style_config | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/style_config b/doc/style_config index 30d976a..10fcb42 100644 --- a/doc/style_config +++ b/doc/style_config @@ -35,8 +35,18 @@ config.allowedContent = { classes: ['*'], styles: ['*'] }, + code : { + attributes: ['*'], + classes: ['*'], + styles: ['*'] + }, + pre : { + attributes: ['*'], + classes: ['*'], + styles: ['*'] + }, p : { - styles: ['text-align', 'text-indent', 'border-top', 'border-bottom'], + styles: ['text-align', 'text-indent', 'border-bottom', 'border-top'], classes: ['*'] }, strong : {}, @@ -67,4 +77,5 @@ config.allowedContent = { attributes: ['*'], classes: ['youtube-embed-wrapper'], styles: ['*'] - } }; + } + }; \ No newline at end of file