accept mode options object in static highlight extension
Merge pull request #2070 from ajaxorg/static-highlight

accept mode options object in static highlight extension