Emphasis#

class src.pyconverter.xml2py.ast_tree.Emphasis(element, parse_children=True)#

Bases: Element

Provides the emphasis element.

Overview#

to_rst

Return a string to enable converting the element to an RST format.

role

Return the role parameter value contained in the Emphasis element.

Import detail#

from src.pyconverter.xml2py.ast_tree import Emphasis

Property detail#

property Emphasis.role#

Return the role parameter value contained in the Emphasis element.

Method detail#

Emphasis.to_rst(indent='', max_length=100, links=None, base_url=None)#

Return a string to enable converting the element to an RST format.