News for hackers. Stuff that matters.

Show HN: A simple way to annotate code

I needed a solution for annotating translations for learning Japanese.

I wanted something that created output documents like backbone.js's awesome annotated source code [1], but couldn't find it, so I made it.

Hopefully it's useful to you for annotating code, translations, or any arbitrary text. I think it's great for educational material.

site: http://www.getannotations.com/

source: https://github.com/chromano/annotate

Pull requests welcome.

[1] http://backbonejs.org/docs/backbone.html

( 3 comments | 8 points | on HN )
Re:Show HN: A simple way to annotate code by claytonww on Friday December 13, 2013 @05:54PM (#6903361)
I think the examples are good, it works well for both those cases. Theres a big difference between editing something and annotating it with little comments on corrections, vs http://www.getannotations.com/ where both are prominent.
Re:Show HN: A simple way to annotate code by git-pull on Saturday December 14, 2013 @02:39AM (#6905051)
Good work man.

Can you make the license permissive? MIT, BSD or Apache?

For the code presentation, Have you seen pycco? http://fitzgen.github.io/pycco/

Re:Show HN: A simple way to annotate code by freshlog on Saturday December 14, 2013 @08:07AM (#6905585)
Nice work!

It'll be great if the textarea for commenting grew in height as you typed more.