File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 margin-top : 25px ;
5959}
6060
61+ .article-list .title {
62+ font-size : 16px ;
63+ }
6164
6265.article-list .desc {
6366 margin-top : 15px ;
110113 max-width : 100% ;
111114}
112115
116+ .markdown-preview table td , .markdown-preview table th {
117+ border : 1px solid # ddd ;
118+ padding : 5px ;
119+ }
120+
113121pre {
114122 padding : 0 ;
115123}
Original file line number Diff line number Diff line change 2525
2626 <link rel =" stylesheet" href =" {{ asset (' default/css/index.css' ) } }" >
2727
28+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/highlight.js/latest/styles/github.min.css" >
29+
2830</head >
2931<body >
3032@inject (' systemPresenter' , ' App\Presenters\SystemPresenter' )
7678
7779<script src =" {{ asset (' default/js/index.js' ) } }" ></script >
7880
81+ <script src =" https://cdn.jsdelivr.net/highlight.js/latest/highlight.min.js" ></script >
82+
83+ <script >
84+ hljs .initHighlightingOnLoad ();
85+ </script >
86+
7987@yield (' script' )
8088</body >
8189</html >
Original file line number Diff line number Diff line change 99@section (' keywords' , $systemPresenter -> checkReturnValue (' seo_keyword' , $page -> keyword ) )
1010
1111@section (' style' )
12- <link rel =" stylesheet" href =" {{ asset (' editor.md/css/editormd.preview.min.css' ) } }" >
1312 <link rel =" stylesheet" href =" {{ asset (' share.js/css/share.min.css' ) } }" >
1413@endsection
1514
3029@endsection
3130
3231@section (' content' )
33- <div class =" markdown-body editormd-html- preview" style =" padding :0 ;" >
32+ <div class =" markdown-preview" style =" padding :0 ;" >
3433 {!! $page -> html_content ! !}
3534 </div >
3635
You can’t perform that action at this time.
0 commit comments