mojombo / tomdoc

A flexible code documentation specification with human readers in mind.
333 stars 47 forks source link

Multiple examples? #43

Open trans opened 11 years ago

trans commented 11 years ago

I have a question about the Examples section. Do blank lines between code snippets constitute separate examples? Or should all the code be treated as just one example?

For example:

    # Examples:
    #   
    #   foo(1)  #=> '1'
    #
    #   foo(2)  #=> '2'
    #

Is that considered two examples?