# Elixir Syntax Highlighting on Stackoverflow

**URL:** <https://forum.elixirforum.com/t/elixir-syntax-highlighting-on-stackoverflow/2268>\
**Category:** Discussions\
**Tags:** syntax-highlight\
**Created:** [November 6, 2016, 3:55pm UTC](https://forum.elixirforum.com/t/elixir-syntax-highlighting-on-stackoverflow/2268 "2016-11-06T15:55:49Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![notriddle](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/notriddle/32/6385_2.png) [@notriddle](https://forum.elixirforum.com/u/notriddle)\
**Post date:** [March 4, 2017, 1:02am UTC](https://forum.elixirforum.com/t/elixir-syntax-highlighting-on-stackoverflow/2268/11 "2017-03-04T01:02:04Z")

</div>

Your example here:

```elixir
%{foo: :bar, "yes, this compiles": :"also an atom"}

```

Both of them are atoms; :“also an atom” and :“yes, this compiles” are both atoms. Your syntax hilighter thinks that “yes, this compiles” is a string.

```
iex(1)> %{ "yes, this compiles": :"also an atom" } |> Enum.map(fn {key, val} -> is_atom key end)
[true]

```

---

_[View the full topic](https://forum.elixirforum.com/t/elixir-syntax-highlighting-on-stackoverflow/2268)._
