summaryrefslogtreecommitdiff
path: root/js/lib/inlines.js
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-08 20:24:32 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-08 20:58:17 -0800
commit535afc08febf42fb984e7115bf7a947985690e41 (patch)
tree8ee995f570c97fbc0aa7aa78e8cab4b7bd2774d1 /js/lib/inlines.js
parentead4f4b77b23874d275863180cf4fd7ebebd38cd (diff)
Spec: better system for designating definitions of terms.
`[foo](@foo)` turns into an anchor with id `foo` that links to itself and has class `definition`. This allows us to remove the manual `<a>` tags in `spec.txt`. A simple regex substitution in the Makefile handles the transformation. I believe this addresses some of the concerns in #141 by giving the definitions a prominent appearance. Note that we want definitions to link to themselves, to allow users to quickly generate a link to the relevant bit of the spec.
Diffstat (limited to 'js/lib/inlines.js')
0 files changed, 0 insertions, 0 deletions