File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ New themes:
8
8
9
9
- * Gradient Light* by [ Samia Ali] ( )
10
10
11
+ Deprecations:
12
+
13
+ - ` fixMarkup ` is now deprecated and will be removed in v11.0. (#2534 ) [ Josh Goebel] [ ]
14
+
11
15
Big picture:
12
16
13
17
- Add simple Vue plugin for basic use cases (#2544 ) [ Josh Goebel] [ ]
Original file line number Diff line number Diff line change @@ -848,12 +848,19 @@ const HLJS = function(hljs) {
848
848
} ) ;
849
849
}
850
850
851
- /* Interface definition */
851
+ /* fixMarkup is deprecated and will be removed entirely in v11 */
852
+ function deprecate_fixMarkup ( arg ) {
853
+ console . warn ( "fixMarkup is deprecated and will be removed entirely in v11.0" )
854
+ console . warn ( "Please see https://github.com/highlightjs/highlight.js/issues/2534" )
855
+
856
+ return fixMarkup ( arg )
857
+ }
852
858
859
+ /* Interface definition */
853
860
Object . assign ( hljs , {
854
861
highlight,
855
862
highlightAuto,
856
- fixMarkup,
863
+ fixMarkup : deprecate_fixMarkup ,
857
864
highlightBlock,
858
865
configure,
859
866
initHighlighting,
You can’t perform that action at this time.
0 commit comments