David Alexander 26c66f494b Further tidy up of api link parsing and testing
typo

another typo

ANOTHER typo

update tests

fixed regexs

resolving test failures

resolving test failures

tidy up

test tidy up

refined regexs, output formatting, and tests

further refined regexs

typo in comments

whitespace

comment
2016-01-25 01:16:21 +13:00

69 lines
1009 B
Markdown
Executable File

## english test
test
1.0
[link: subfolder index](subfolder/)
[link: subfolder page](subfolder/subpage)
[link: with anchor](/test#anchor)
[link: http](http://silverstripe.org)
`[Title](api:DataObject)`
`[Title](api:DataObject::$defaults)`
`[Title](api:DataObject::populateDefaults())`
`[api:DataObject]`
`[api:DataObject::$defaults]`
`[api:DataObject::populateDefaults()]`
[Title](api:DataObject)
[Title](api:DataObject::$defaults)
[Title](api:DataObject::populateDefaults())
[api:DataObject]
[api:DataObject::$defaults]
[api:DataObject::populateDefaults()]
:::php
code block
with multiple
lines
and tab indent
and escaped < brackets
Normal text after code block
code block
without formatting prefix
How about fences?
```
Fenced code block
```
Did the fence work?
```php
Fenced box with
new lines in
between
content
```
# Heading one
# Heading with custom anchor {#custom-anchor}
## Heading two
### Heading three
## Heading duplicate
## Heading duplicate
## Heading duplicate