Functions for converting a license’s description to HTML, Markdown etc.
Functions:
as_html(description)
|
Returns the description as an HTML string. |
as_markdown(description)
|
Returns the description as a Markdown string. |
as_plaintext(description)
|
Returns the description as a plaintext string. |
as_rst(description)
|
Returns the description as a reStructuredText string. |
-
as_html(description)[source]
Returns the description as an HTML string.
- Parameters
description (str)
- Return type
str
-
as_markdown(description)[source]
Returns the description as a Markdown string.
- Parameters
description (str)
- Return type
str
-
as_plaintext(description)[source]
Returns the description as a plaintext string.
- Parameters
description (str)
- Return type
str
-
as_rst(description)[source]
Returns the description as a reStructuredText string.
- Parameters
description (str)
- Return type
str