mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 19:38:20 -07:00
9 lines
311 B
JavaScript
9 lines
311 B
JavaScript
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': /---|\.\.\.|[:[\]{}\-,|>?]/
|
|
}; |