Module geolink_formatter.format¶
HTML¶
-
class
geolink_formatter.format.HTML[source]¶ Bases:
objectCreates a new HTML formatter.
-
classmethod
format(documents)[source]¶ Formats a list of
geolink_formatter.entity.Documentinstances as HTML list.Parameters: documents (list[geolink_formatter.entity.Document]) – The list of documents to be formatted. Returns: An HTML formatted string containing the documents as HTML list. Return type: str
-
classmethod