From ab7accfe2f9a73bdd9d7dfdf4b1a0efe417e34bb Mon Sep 17 00:00:00 2001 From: Kenshin Date: Fri, 5 Apr 2019 16:20:30 +0800 Subject: [PATCH] Remove old source. --- src/service/stylesheet.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/service/stylesheet.js b/src/service/stylesheet.js index 760384fa..8591c44c 100644 --- a/src/service/stylesheet.js +++ b/src/service/stylesheet.js @@ -174,16 +174,6 @@ function preview( styles ) { css( "css", styles["css"] ); } -/** - * Add markdown css to for read mode - * - */ -function mdStyle() { - const styles = 'sr-rd-content{line-height:initial!important}sr-rd-content h1,sr-rd-content h2,sr-rd-content h3,sr-rd-content h4,sr-rd-content h5{margin:0!important;padding:0!important}sr-rd-content p{margin:0!important}sr-rd-content ol,sr-rd-content ul{margin-bottom:0!important;line-height:0!important}sr-rd-content sr-blockquote{padding-top:0!important;padding-bottom:0!important;line-height:.5}sr-rd-content sr-blockquote *{line-height:1.8!important}sr-rd-content ol li,sr-rd-content ol li *,sr-rd-content ul li,sr-rd-content ul li *{}'; - $( "head" ).find( "#simpread-custom-markdown" ).length == 0 && - $( "head" ).append(``); -} - /** * Verify custom is exist * @@ -220,5 +210,4 @@ export { custom as Custom, css as CSS, vfyCustom as VerifyCustom, - mdStyle as MDStyle, } \ No newline at end of file