@@ -15,9 +15,9 @@ there are also blockprocessors which are part of the core BlockParser.
15
15
As the parser builds an [ ElementTree] [ ] object which is later rendered
16
16
as Unicode text, there are also some helpers provided to ease manipulation of
17
17
the tree. Each part of the API is discussed in its respective section below.
18
- Additionaly , reading the source of some [[ Available Extensions]] may be helpful.
19
- For example, the [[ Footnotes]] extension uses most of the features documented
20
- here.
18
+ Additionally , reading the source of some [ Available Extensions] [ ] may be
19
+ helpful. For example, the [ Footnotes] [ ] extension uses most of the features
20
+ documented here.
21
21
22
22
* [ Preprocessors] [ ]
23
23
* [ InlinePatterns] [ ]
@@ -368,13 +368,14 @@ configuration options for your extension and attach the various processors and
368
368
patterns to the Markdown instance.
369
369
370
370
It is important to note that the order of the various processors and patterns
371
- matters. For example, if we replace `` http://... `` links with <a > elements, and
372
- * then* try to deal with inline html, we will end up with a mess. Therefore,
373
- the various types of processors and patterns are stored within an instance of
374
- the Markdown class in [ OrderedDict] [ ] s. Your `` Extension `` class will need to
375
- manipulate those OrderedDicts appropriately. You may insert instances of your
376
- processors and patterns into the appropriate location in an OrderedDict, remove
377
- a built-in instance, or replace a built-in instance with your own.
371
+ matters. For example, if we replace `` http://... `` links with `` <a> `` elements,
372
+ and * then* try to deal with inline html, we will end up with a mess.
373
+ Therefore, the various types of processors and patterns are stored within an
374
+ instance of the Markdown class in [ OrderedDict] [ ] s. Your `` Extension `` class
375
+ will need to manipulate those OrderedDicts appropriately. You may insert
376
+ instances of your processors and patterns into the appropriate location in an
377
+ OrderedDict, remove a built-in instance, or replace a built-in instance with
378
+ your own.
378
379
379
380
<h4 id =" extendmarkdown " >extendMarkdown</h4 >
380
381
@@ -514,7 +515,7 @@ To change the location of an existing item:
514
515
<h4 id =" registerextension " >registerExtension</h4 >
515
516
516
517
Some extensions may need to have their state reset between multiple runs of the
517
- Markdown class. For example, consider the following use of the [[ Footnotes]]
518
+ Markdown class. For example, consider the following use of the [ Footnotes] [ ]
518
519
extension:
519
520
520
521
md = markdown.Markdown(extensions=['footnotes'])
@@ -609,3 +610,5 @@ than one residing in a module.
609
610
[ Config Settings ] : #configsettings
610
611
[ makeExtension ] : #makeextension
611
612
[ ElementTree ] : http://effbot.org/zone/element-index.htm
613
+ [ Available Extensions ] : extensions/
614
+ [ Footnotes ] : extensions/footnotes.html
0 commit comments