components/prism-elixir.min.js


Log

Author Commit Date CI Message
Golmote 7549eccb 2017-02-08T23:23:24 Add missing greedy config in APL, AutoIt, Dart, Elixir, Erlang, F#, Go, Haxe, Icon, Inform7, J, Makefile, Mel, Nim, Nix, NSIS, OCaml, Oz, Pari/GP, Parser, Pascal, Perl, Prolog, Pure, Qore, R, Rip, Ruby, Rust, SAS, Scheme, SQL, Stylus, Tcl and Verilog
Golmote ccb6566c 2015-09-22T23:26:10 Elixir: Fix empty comment + add test for issue #775
Daniel Berkompas 220f1dfa 2015-09-22T08:25:13 Highlight Elixir string markdown header correctly Elixir allows markdown inside its triple-quote heredoc syntax. However, the "#" used in markdown headers is currently misinterpreted as a comment. So, if you write this: ```elixir @doc """ Get the first name of a user. - `user` - A User struct. user = %User{name: "Alice Winston"} User.first_name(user) "Alice" """ ``` Prism interprets the markdown headers as comments, not as part of the string, and this messes up the coloring. This can be fixed by adding a negative lookbehind, such that the comments regex matches "#" but not "##".
Golmote 801769cc 2015-09-05T09:42:40 Elixir: Merged heredoc with strings, fixed capture, optimized operators and keywords.
Golmote 08054b15 2015-06-30T21:29:30 Add support for elixir