CommentVersionNote¶
- class chango.concrete.CommentVersionNote(version)¶
Bases:
VersionNote[CommentChangeNote,V],GenericA simple version note implementation that works with
CommentChangeNote.- render(markup)¶
Render the version note to a string by listing all contained change notes separated by a newline. For markup languages Markdown, HTML and reStructuredText, the change notes will be rendered as unordered lists.
- Parameters:
markup (
str) – The markup language to use for rendering.- Raises:
UnsupportedMarkupError – If the
markupparameter does not coincide withchango.concrete.CommentChangeNote.MARKUP- Returns:
The rendered version note.
- Return type:
str