Skip to content

Commit 4b37f5b

Browse files
committed
Fixed documentation.
1 parent 428aaf5 commit 4b37f5b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ addition to the block types defined by the [CommonMark specification](https://co
6666
[GitHub Flavored Markdown specification](https://github.github.com/gfm/) with one extension: within a table
6767
block it is possible to escape newline characters to enable cell text to be written on multiple lines. Here is an example:
6868

69-
```markdown
69+
```
7070
| Column 1 | Column 2 |
7171
| ------------ | -------------- |
7272
| This text \
@@ -89,9 +89,12 @@ Since `MarkdownParser` objects are stateless (beyond the configuration of block
8989
transformers), there is a predefined default `MarkdownParser` object accessible via the static property
9090
`MarkdownParser.standard`. This default parsing object is used in the example above.
9191

92-
New markdown parsers with different configurations can also be created by subclassing `MarkdownParser`
92+
New markdown parsers with different configurations can also be created by subclassing
93+
[`MarkdownParser`](https://github.com/objecthub/swift-markdownkit/blob/master/Sources/MarkdownKit/Parser/MarkdownParser.swift)
9394
and by overriding the class properties `defaultBlockParsers` and `defaultInlineTransformers`. Here is
94-
an example how class `ExtendedMarkdownParser` is derived from `MarkdownParser` simply by overriding
95+
an example how class
96+
[`ExtendedMarkdownParser`](https://github.com/objecthub/swift-markdownkit/blob/master/Sources/MarkdownKit/Parser/ExtendedMarkdownParser.swift)
97+
is derived from `MarkdownParser` simply by overriding
9598
`defaultBlockParsers` and by specializing `standard` in a covariant fashion.
9699

97100
```swift

0 commit comments

Comments
 (0)