markdown.renderer.utils.render_bordered_content

markdown.renderer.utils

render_bordered_content(tss, style_base, content, width, label, indent, pad) -> rendered

Render pre-styled content with borders (for divs)

Unlike render_bordered_block, this takes already-rendered content with ANSI codes and wraps it in border characters.