Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Custom tags

Rene Saarsoo edited this page · 43 revisions

JSDuck 5.0 brings a brand new custom tags system. It's much more flexible and powerful than the old system introduced in JSDuck 3.0, but it's not backwards compatible.

To introduce a new @tag, you'll need to write a Ruby class that implements the tag. Then load the class into JSDuck using the --tags option:

$ jsduck --tags my_custom_tag.rb  ...other.options...

But don't be scared of Ruby. We'll start off with the very simplest of tags that even a monkey can implement.

Something went wrong with that request. Please try again.