Commit 607e1022 authored by Raniere Silva's avatar Raniere Silva Committed by GitHub
Browse files

Merge pull request #65 from gvwilson/auto-ids

Auto-generating IDs for glossary items
parents 87490a74 97674624
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ permalink: /reference/
The glossary would go here, formatted as:

~~~
{:auto_ids}
key word 1
:   explanation 1

@@ -16,9 +17,12 @@ key word 2
~~~
{: .source}

which renders as:

(`{:auto_ids}` is needed at the start
so that Jekyll will automatically generate a unique ID for each item
to allow other pages to hyperlink to specific glossary entries.)
This renders as:

{:auto_ids}
key word 1
:   explanation 1