Skip to content

Commit

Permalink
Add dockerfile alias for docker language (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
petk authored and LeaVerou committed Jul 17, 2017
1 parent ac09e97 commit 601c47f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/prism-docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ Prism.languages.docker = {
'string': /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*?\1/,
'comment': /#.*/,
'punctuation': /---|\.\.\.|[:[\]{}\-,|>?]/
};
};

Prism.languages.dockerfile = Prism.languages.docker;
2 changes: 1 addition & 1 deletion components/prism-docker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 601c47f

Please sign in to comment.