strip_markdown

Documentation for eth_defi.erc_4626.vault_protocol.wildcat.offchain_metadata.strip_markdown function.

strip_markdown(text)

Remove Markdown structure markers from borrower-written text.

Headings, list bullets and *, ** and __ emphasis are removed, so a summary is plain text.

Parameters

text (Optional[str]) – Borrower-written Markdown, or None.

Returns

Text without Markdown markers, or None for empty input.

Return type

Optional[str]