Skip to main content

santize_doc_cell

FunctionSource

v_1: str = santize_doc_cell(text: str)

Sanitize the cell text by

  1. Replace | with \|.

These changes are used to render MDX formats for inline texts.

Arguments

Requires

NameTypeRequired
Description
textstrThe input cell text.

Returns

NameType
Description
v_1strThe sanitized text.