10 lines
250 B
JavaScript
10 lines
250 B
JavaScript
let glob = require('glob-all')
|
|
|
|
module.exports = {
|
|
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || [],
|
|
paths: () => glob.sync([
|
|
'source/**/*.{md,twig}'
|
|
]),
|
|
whitelistPatterns: [/(code|kbd|pre|samp)/, /hljs/, /language/]
|
|
}
|