CS-Notes/docs/_style/prism-master/components/prism-brainfuck.min.js
2018-12-19 14:09:39 +08:00

1 line
226 B
JavaScript

Prism.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/};