@@ -88,7 +88,7 @@ def __init__(self, *args, **kwargs):
8888 If they are of type string, the module mdx_name.py will be loaded.
8989 If they are a subclass of markdown.Extension, they will be used
9090 as-is.
91- * extension_configs: Configuration settingis for extensions.
91+ * extension_configs: Configuration settings for extensions.
9292 * output_format: Format of output. Supported formats are:
9393 * "xhtml1": Outputs XHTML 1.x. Default.
9494 * "xhtml5": Outputs XHTML style tags of HTML 5
@@ -400,17 +400,17 @@ def convert(self, source):
400400 return output .strip ()
401401
402402 def convertFile (self , input = None , output = None , encoding = None ):
403- """Converts a markdown file and returns the HTML as a unicode string.
403+ """Converts a Markdown file and returns the HTML as a Unicode string.
404404
405405 Decodes the file using the provided encoding (defaults to utf-8),
406406 passes the file content to markdown, and outputs the html to either
407407 the provided stream or the file with provided name, using the same
408408 encoding as the source file. The 'xmlcharrefreplace' error handler is
409409 used when encoding the output.
410410
411- **Note:** This is the only place that decoding and encoding of unicode
412- takes place in Python-Markdown. (All other code is unicode -in /
413- unicode -out.)
411+ **Note:** This is the only place that decoding and encoding of Unicode
412+ takes place in Python-Markdown. (All other code is Unicode -in /
413+ Unicode -out.)
414414
415415 Keyword arguments:
416416
@@ -476,7 +476,7 @@ def convertFile(self, input=None, output=None, encoding=None):
476476
477477
478478def markdown (text , * args , ** kwargs ):
479- """Convert a markdown string to HTML and return HTML as a unicode string.
479+ """Convert a Markdown string to HTML and return HTML as a Unicode string.
480480
481481 This is a shortcut function for `Markdown` class to cover the most
482482 basic use case. It initializes an instance of Markdown, loads the
0 commit comments