between font-lock-keywords, the elisp manual, examples in the emacs source (sh-mode is one) and the webernets, it is rather difficult to find a way to properly deal with multi-line construct syntax highlighting. this is a way leveraging anchored matching and jit-lock.
systemd mode ============ Major mode for editing systemd units in GNU Emacs. See the commentary in `systemd.el`. Installation ------------ Available as the `systemd` package on MELPA <http://melpa.org/> and marmalade <https://marmalade-repo.org/>. In Emacs, one can locally install as a package with `make dist` and M-x package-install-file RET /path/to/systemd-VERSION.tar RET Otherwise, for either installing into one's `load-path` or a system install, do the usual make make install
Languages
Emacs Lisp
94.5%
Makefile
5.5%