Skip to content

Commit

Permalink
Added example of Erlang highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegraybox committed Aug 28, 2011
1 parent 2322b8a commit 47e74ef
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions example/two/slidesA.md
Expand Up @@ -18,6 +18,18 @@
end
end

!SLIDE

@@@ erlang
Output = process(Input, []).

process([First|Rest], Output) ->
NewFirst = do_stuff(First),
process(Rest, [NewFirst|Output]);

process([], Output) ->
lists:reverse(Output).

!SLIDE execute

# Executable JavaScript #
Expand Down

0 comments on commit 47e74ef

Please sign in to comment.