Test Erlang Syntax Highlighting

post(Account, Delta, Currency) ->
    Ts = erlang:system_time(millisecond),
    Entry = #{ts => Ts, acct => Account,
              delta => Delta, ccy => Currency},
    Prev = prev_hash(),
    TxHash = sha256(term_to_binary(Entry)),
    BlockHash = sha256(<<Prev/binary, TxHash/binary>>),
    ets:insert(?CHAIN, {Ts, Entry, TxHash, Prev, BlockHash}),
    {ok, BlockHash}.

If you see colors above, the CSS works. If it's all white, the CSS isn't being applied.


Happi Hacking AB
KIVRA: 556912-2707
106 31 Stockholm