nevir/groc — pull request #111 by sjorek (2013-09-11 16:51:32+00:00)
Title: Feature: multi-line block-comments for coffee-script

What should I write ? … I promised support for multi-line block-comments as I missed them very much, and here they are:

###
This is supported now.

@description no indention, but with @doctags
###

###
# This is supported too …
#
# @description no indention, but with @doctags and useless #-prefix per line
###
###
@decription … as well as this (indention + @doctags)…
###
###
# @decription … or this (indention, @doctags and useless #-prefix per line) …
###

###*
* This is not yet supported due to `foldPrefix` clashes with markdown-comments
* as described here: https://github.com/nevir/groc/pull/110 . Hence this is currently
* a simple bulletlist, but actually it's meant to render the following Javascript-comment:
###
/**
* This is not yet supported due to `foldPrefix` clashes with markdown-comments
* as described …
*/

It was not as trivial as I thought, but the final solution works and looks quite simple …