{{/*

  This template is used to render the table of SAS emoji table.

  It replaces the old {{sas_emoji_table}} template.

*/}}

{{ $emoji_json := readFile "data-definitions/sas-emoji.json" | transform.Unmarshal }}

<table>
  <tr>
    <th>Number</th>
    <th>Emoji</th>
    <th>Unicode</th>
    <th>Description</th>
  </tr>
{{ range $emoji_json }}
  <tr>
    <td>{{ .number }}</td>
    <td>{{ .emoji }}</td>
    <td>{{ .unicode }}</td>
    <td>{{ .description }}</td>
  </tr>
{{ end }}
</table>
