This package provides poly-noweb-mode
- a polymode for noweb.
The detection of the major mode in the noweb chunks is done in the following order:
(lang-name)
after the chunk head as per nw2md specification (e.g.<<name>>= (bash)
)- short mode name preceded by a period (e.g.
<<name.bash>>=
) - extension of the file name is looked in
auto-mode-alist
(e.g.<<name.cpp>>=
) - local value of
noweb-code-mode
(for compatibility with the original noweb-mode) - local value of
polymode-default-inner-mode
- fallback on
poly-fallback-mode