In an org-mode file, it's possible to inject a source block written in any language supported by emacs and then switch to the corresponding major mode when editing that source block which will give you proper syntax highlighting, flymake/lsp support and so on - basically all the trimmings of the regular major mode, which is very nice.
As a Justfile can also contain scripts, it would be very neat if we were able to do something similar. org-mode knows which major mode to switch to based on the #+BEGIN_SRC tag and so just-mode would have to do something clever about the shebang line.
In an org-mode file, it's possible to inject a source block written in any language supported by emacs and then switch to the corresponding major mode when editing that source block which will give you proper syntax highlighting, flymake/lsp support and so on - basically all the trimmings of the regular major mode, which is very nice.
As a
Justfile
can also contain scripts, it would be very neat if we were able to do something similar. org-mode knows which major mode to switch to based on the#+BEGIN_SRC
tag and so just-mode would have to do something clever about the shebang line.