Quick Nav

{% assign temp = page.content | split: " " %}{% for line in temp %}{% assign header = line | normalize_whitespace | truncate: 4, "" %}{% if header == "## [" %}{% assign category = line | normalize_whitespace | replace: "## [" | replace: "]" %}{% assign all_categories = all_categories | append: " " | append: category %}{% endif %}{% endfor %}{% assign all_categories = all_categories | split: " " | sort | join: " " | prepend: "ALL " | split: " " %}{% for cat in all_categories %} {% if cat == "ALL" %}

{% endif %} {% endfor %}

{% comment %} {% endcomment %}

Appendices

{% comment %} {% endcomment %}{% assign is_next = 0 %}{% assign app_title = %}{% for line in temp %}{% assign is_app = line | normalize_whitespace | truncate: 12, "" %}{% assign is_anchor = line | normalize_whitespace | truncate: 3, "" %}{% if is_app == "## Appendix " %}{% assign app_title = line | normalize_whitespace | replace: "## Appendix " %}{% elsif is_anchor == "{:#" and app_title %}{% assign anchor = line | normalize_whitespace | replace: "{:#" | replace: "}" %}{% if is_next == 1 %}
{% else %}{% assign is_next = 1 %}{% endif %} {{ app_title }} {% else %}{% assign app_title = %}{% assign anchor = %}{% endif %}{% endfor %}