SEND all files + questionnaires + json + data_tests
This commit is contained in:
12
public/prism_params.js
Normal file
12
public/prism_params.js
Normal file
@@ -0,0 +1,12 @@
|
||||
(function () {
|
||||
if (typeof Prism === 'undefined') {
|
||||
alert("undeff")
|
||||
return;
|
||||
}
|
||||
Prism.hooks.add('wrap', function (env) {
|
||||
// Ajoutez les types de tokens que vous voulez cibler
|
||||
if (env.type === 'keyword' || env.type === 'attr-name') {
|
||||
env.classes.push('keyword-' + env.content);
|
||||
}
|
||||
});
|
||||
}());
|
||||
Reference in New Issue
Block a user