blob: 686c9e68ba0d601f4bed9acbc791cc60e946d4f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// setting highlight for async stuff in python
var async_kw = ['async', 'await'];
jQuery.each(async_kw, function(i, kw){
var elements = jQuery(".highlight-python .n:contains('" + kw + "')");
jQuery.each(elements, function(j, el){
el = jQuery(el);
if (el.text() == kw){
el.removeClass('n');
el.addClass('kn');
};
});
});
|