1 2 3 4 5 6 7 8 9
Prism.languages.docker = { 'keyword': { pattern: /(^\s*)(?:ONBUILD|FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|COPY|VOLUME|USER|WORKDIR|CMD|LABEL|ENTRYPOINT)(?=\s)/mi, lookbehind: true }, 'string': /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*?\1/, 'comment': /#.*/, 'punctuation': /---|\.\.\.|[:[\]{}\-,|>?]/ };