textoutpc.frontend – Front-end functions#
- textoutpc.frontend.render_as_html(inp: str | TextIO, /, *, parser: Parser | Literal['strict_inline', 'strict', 'inline', 'default'] = 'default', link_target: LinkTarget = LinkTarget.BLANK) str#
- Convert textout-style BBCode to HTML. - Parameters:
- inp – Input, either as a string or text stream. 
- parser – Parser to use. 
- link_target – Target to add to references / hyperlinks. 
 
- Returns:
- Obtained HTML.