ape icon indicating copy to clipboard operation
ape copied to clipboard

Feature Request: differentiate function/class definition

Open aaronmccall opened this issue 13 years ago • 0 comments

It would be nice to be able to mark the code/comment pair as being for a class/function definition for the purpose of tweaking the HTML output (bottom aligning the block so that it's more obvious that the comment text is a definition header comment).

Thoughts:

  • Use a regex in the language definition that indicates a "start of code block" that means that our comment is a header comment
  • Add a class name to the HTML output for style/behavior hooks

aaronmccall avatar Mar 12 '12 21:03 aaronmccall