Function: jinja2-insert-comment

jinja2-insert-comment is an interactive and natively compiled function defined in jinja2-mode.el.

Signature

(jinja2-insert-comment)

Documentation

Insert an empty tag

Key Bindings

jinja2-mode-map C-c #

Source Code

;; Defined in /nix/store/w823rz5zs434n18ps4jcyc02giqk4dgd-emacs-packages-deps/share/emacs/site-lisp/elpa/jinja2-mode-20220117.807/jinja2-mode.el
(defun jinja2-insert-comment ()
  "Insert an empty tag"
  (interactive)
  (insert "{# ")
  (save-excursion
    (insert " #}")
    (jinja2-indent-line)))