@@ -270,7 +270,7 @@ Additional tree processors in the Markdown source tree include:
270270### Inline Processors {: #inlineprocessors }
271271
272272Inline processors, previously called inline patterns, are used to add formatting, such as ` **emphasis** ` , by replacing
273- a matched pattern with a new element tree node. It is an excellent for adding new syntax for inline tags. Inline
273+ a matched pattern with a new element tree node. It is an excellent place for adding new syntax for inline tags. Inline
274274processor code is often quite short.
275275
276276Inline processors inherit from ` InlineProcessor ` , are initialized, and implement ` handleMatch ` :
@@ -286,7 +286,7 @@ Inline processors inherit from `InlineProcessor`, are initialized, and implement
286286 * ` data ` is a single, multi-line, Unicode string containing the entire block of text around the pattern. A block
287287 is text set apart by blank lines.
288288 * Returns either ` (None, None, None) ` , indicating the provided match was rejected or ` (el, start, end) ` , if the
289- match was successfully processed. On success, ` el ` is the element being added the tree, ` start ` and ` end ` are
289+ match was successfully processed. On success, ` el ` is the element being added to the tree, ` start ` and ` end ` are
290290 indexes in ` data ` that were "consumed" by the pattern. The "consumed" span will be replaced by a placeholder.
291291 The same inline processor may be called several times on the same block.
292292
@@ -295,7 +295,7 @@ The processor will be skipped if it would cause the content to be a descendant o
295295
296296##### Convenience Classes
297297
298- Convenience subclasses of ` InlineProcessor ` are provide for common operations:
298+ Convenience subclasses of ` InlineProcessor ` are provided for common operations:
299299
300300* [ ` SimpleTextInlineProcessor ` ] [ i1 ] returns the text of ` group(1) ` of the match.
301301* [ ` SubstituteTagInlineProcessor ` ] [ i4 ] is initialized as ` SubstituteTagInlineProcessor(pattern, tag) ` . It returns a
@@ -468,7 +468,7 @@ emphasis = EmphasisPattern(MYPATTERN)
468468### Postprocessors {: #postprocessors }
469469
470470Postprocessors munge the document after the ElementTree has been serialized into a string. Postprocessors should be
471- used to work with the text just before output. Usually, they are used add back sections that were extracted in a
471+ used to work with the text just before output. Usually, they are used to add back sections that were extracted in a
472472preprocessor, fix up outgoing encodings, or wrap the whole document.
473473
474474Postprocessors inherit from ` markdown.postprocessors.Postprocessor ` and implement a ` run ` method which takes a single
@@ -577,7 +577,7 @@ be passed to the processor from [extendMarkdown](#extendmarkdown) and will be av
577577
578578Once you have the various pieces of your extension built, you need to tell Markdown about them and ensure that they
579579are run in the proper sequence. Markdown accepts an ` Extension ` instance for each extension. Therefore, you will need
580- to define a class that extends ` markdown.extensions.Extension ` and over-rides the ` extendMarkdown ` method. Within this
580+ to define a class that extends ` markdown.extensions.Extension ` and overrides the ` extendMarkdown ` method. Within this
581581class you will manage configuration options for your extension and attach the various processors and patterns to the
582582Markdown instance.
583583
@@ -678,7 +678,7 @@ class MyExtension(markdown.extensions.Extension):
678678 super (MyExtension, self ).__init__ (** kwargs)
679679```
680680
681- When implemented this way the configuration parameters can be over-ridden at run time (thus the call to ` super ` ). For
681+ When implemented this way the configuration parameters can be overridden at run time (thus the call to ` super ` ). For
682682example:
683683
684684``` python
0 commit comments