branch: elpa/dockerfile-mode commit a532e30371b1a2708a6445433dd368a232d36277 Author: Philippe Vaucher <phili...@stvs.ch> Commit: Philippe Vaucher <phili...@stvs.ch>
Use syntax highlighting in README --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c3c7fb8501..d389f044a9 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ Known to work with Emacs 24 and later A Dockerfile mode for emacs - (add-to-list 'load-path "/your/path/to/dockerfile-mode/") - (require 'dockerfile-mode) - (add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode)) +``` emacs-lisp +(add-to-list 'load-path "/your/path/to/dockerfile-mode/") +(require 'dockerfile-mode) +(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode)) +``` Adds syntax highlighting as well as the ability to build the image directly (C-c C-b) from the buffer. @@ -14,6 +16,8 @@ directly (C-c C-b) from the buffer. You can specify the image name in the file itself by adding a line like this at the top of your Dockerfile. - ## -*- docker-image-name: "your-image-name-here" -*- +``` emacs-lisp +## -*- docker-image-name: "your-image-name-here" -*- +``` If you don't, you'll be prompted for an image name each time you build.