pychoosealicense.description

Functions for converting a license’s description to HTML, Markdown etc.

New in version 0.2.0.

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.

Return type

str

as_markdown(description)[source]

Returns the description as a Markdown string.

Return type

str

as_plaintext(description)[source]

Returns the description as a plaintext string.

Return type

str

as_rst(description)[source]

Returns the description as a reStructuredText string.

Return type

str