batmanjs/batmanjs.github.io — pull request #8 by pushrax (2013-09-28 05:50:07+00:00)
Title: Add subheading parsing

As discussed, we decided to use a consistent format for method/accessor/property names. This adds an initial parser and generates linkable ids for them. I added a little CSS to start off with, but getting a designer to take another look at some point would be good.

Here's what it looks like:
![](http://puu.sh/4C4Gp.png)

Clicking the heading brings you to `/docs/api/batman.model.html#class_function_find` (I removed all the indexes from the URLs so we have something more permanently linkable).

Still to be decided is how to display class/prototype level, and whether something is an accessor or a property (functions are obvious). Right now, it just shoves an `@` in front of class level things, and nothing in front of prototype level things.

@nickjs @SoapyIllusions
cc @kristianpd