module documentation

Smarty extension for Python-Markdown ==================================== Adds conversion of ASCII dashes, quotes and ellipses to their HTML entity equivalents. See <https://Python-Markdown.github.io/extensions/smarty> for documentation. Author: 2013, Dmitry Shachnev <mitya57@gmail.com> All changes Copyright 2013-2014 The Python Markdown Project License: [BSD](https://opensource.org/licenses/bsd-license.php) SmartyPants license: Copyright (c) 2003 John Gruber <https://daringfireball.net/> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name "SmartyPants" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. smartypants.py license: smartypants.py is a derivative work of SmartyPants. Copyright (c) 2004, 2007 Chad Miller <http://web.chad.org/> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Class SmartyExtension Undocumented
Class SubstituteTextPattern No class docstring; 0/2 instance variable, 1/2 method documented
Function makeExtension Undocumented
Constant HTML_STRICT_RE Undocumented
Variable closeClass Undocumented
Variable closingDoubleQuotesRegex Undocumented
Variable closingDoubleQuotesRegex2 Undocumented
Variable closingSingleQuotesRegex Undocumented
Variable closingSingleQuotesRegex2 Undocumented
Variable decadeAbbrRe Undocumented
Variable doubleQuoteSetsRe Undocumented
Variable doubleQuoteStartRe Undocumented
Variable endOfWordClass Undocumented
Variable openingDoubleQuotesRegex Undocumented
Variable openingQuotesBase Undocumented
Variable openingSingleQuotesRegex Undocumented
Variable punctClass Undocumented
Variable remainingDoubleQuotesRegex Undocumented
Variable remainingSingleQuotesRegex Undocumented
Variable singleQuoteSetsRe Undocumented
Variable singleQuoteStartRe Undocumented
Variable substitutions Undocumented
def makeExtension(**kwargs): (source)

Undocumented

HTML_STRICT_RE = (source)

Undocumented

Value
HTML_RE+'(?!\\>)'
closeClass: str = (source)

Undocumented

closingDoubleQuotesRegex: str = (source)

Undocumented

closingDoubleQuotesRegex2 = (source)

Undocumented

closingSingleQuotesRegex = (source)

Undocumented

closingSingleQuotesRegex2 = (source)

Undocumented

decadeAbbrRe: str = (source)

Undocumented

doubleQuoteSetsRe: str = (source)

Undocumented

doubleQuoteStartRe = (source)

Undocumented

endOfWordClass: str = (source)

Undocumented

openingDoubleQuotesRegex = (source)

Undocumented

openingQuotesBase: str = (source)

Undocumented

openingSingleQuotesRegex = (source)

Undocumented

punctClass: str = (source)

Undocumented

remainingDoubleQuotesRegex: str = (source)

Undocumented

remainingSingleQuotesRegex: str = (source)

Undocumented

singleQuoteSetsRe: str = (source)

Undocumented

singleQuoteStartRe = (source)

Undocumented

substitutions: dict[str, str] = (source)

Undocumented