class SmartQuotes(Transform):
Replace ASCII quotation marks with typographic form.
Also replace multiple dashes with em-dash/en-dash characters.
Method | __init__ |
Initial setup for in-place document transforms. |
Method | apply |
Override to apply the transform to the document tree. |
Method | get_tokens |
Undocumented |
Class Variable | default_priority |
Numerical priority of this transform, 0 through 999 (override). |
Class Variable | literal_nodes |
Do apply smartquotes to instances of these inline nodes. |
Class Variable | nodes_to_skip |
Do not apply "smartquotes" to instances of these block-level nodes. |
Class Variable | smartquotes_action |
Setting to select smartquote transformations. |
Instance Variable | unsupported_languages |
Undocumented |
Inherited from Transform
:
Instance Variable | document |
The document tree to transform. |
Instance Variable | language |
Language module local to this document. |
Instance Variable | startnode |
Node from which to begin the transform. For many transforms which apply to the document as a whole, startnode is not set (i.e. its value is None ). |
docutils.transforms.Transform.__init__
docutils.transforms.Transform.apply