1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Dev: Syntaxlighting without a specific brush should still be enhanced from MD

This commit is contained in:
Allan Jardine 2014-05-15 10:10:45 +01:00
parent 46e2b0a0db
commit 48ae36e24c
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
9c35fdcedba2afacef4e92657cb8f9510ec72d59
031e8b85d58dd043f6e436f8571bb18cccc7e816

View File

@ -768,6 +768,10 @@ function parseParams(str)
if ( a ) {
result['brush'] = a[1];
}
else if ( str && str.indexOf('multiline') !== -1 ) {
// Markdown code block without a language identifier
result['brush'] = 'text';
}
return result;
};