mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 19:45:21 +08:00
a82530012a
PERF: stop loading highlight js on load To get latest highlight js run bin/rake highlightjs:update
1 line
345 B
JavaScript
1 line
345 B
JavaScript
hljs.registerLanguage("makefile",function(e){var a={cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]};return{aliases:["mk","mak"],c:[e.HCM,{b:/^\w+\s*\W*=/,rB:!0,r:0,starts:{cN:"constant",e:/\s*\W*=/,eE:!0,starts:{e:/$/,r:0,c:[a]}}},{cN:"title",b:/^[\w]+:\s*$/},{cN:"phony",b:/^\.PHONY:/,e:/$/,k:".PHONY",l:/[\.\w]+/},{b:/^\t+/,e:/$/,r:0,c:[e.QSM,a]}]}}); |