Open NicoHood opened 8 years ago
Same for matlab
and octave
languages: contents of fenced code blocks are just green (as if no language was specified), and furthermore, language-mode-specific things like auto-indentation don’t work.
Most languages I’ve tried (js
and haskell
and rust
) work just fine though.
Atom 1.12.7 on macOS Sierra.
Looks like the gfm
grammar hardcodes for a large number of languages, e.g., for CoffeeScript, JavaScript, and TypeScript see:
Ideally such a list would be populated by a Markdown specification (haha), or possibly an Atom-wide grammar listing, but in the meantime, would the maintainers be ok with pull requests adding Makefile, Matlab, Octave, etc.?
Came from here: https://github.com/atom/atom/issues/12915
If you have a markdown file (.md) with this content:
The content is not highlighted, its just green. For example a
cpp
instead ofmakefile
highlights the code inside the editor. If you pressctrl + m
the markdown preview is shown, where the code is highlighted. This means markdown is actually supported but for some reason not highlighted in the markdown editor.Using atom 1.10.2 on archlinux.