@ Override public void render ( Tag tag , StringBuilder target , MarkdownDoclet doclet ) { Counter counter ; if ( tag . holder ( ) instanceof MemberDoc ) { counter = getCounter ( ( ( MemberDoc ) tag . holder ( ) ) . containingClass ( ) ) ; } else { counter = getCounter ( tag . holder ( ) ) ; } target . append ( "<div class=\"todo\">" ) ; target . append ( "<div class=\"todoTitle\"><span class=\"todoTitle\">" ) . append ( doclet . getOptions ( ) . getTodoTitle ( ) ) . append ( "</span><span class=\"todoCounter\">#" ) . append ( counter . next ( ) ) . append ( "</span></div>" ) ; target . append ( "<div class=\"todoText\">" ) ; target . append ( doclet . toHtml ( tag . text ( ) . trim ( ) ) ) ; target . append ( "</div></div>" ) ; }
Render the tag .