Closed oberlies closed 7 years ago
The syntax without link text is allowed by the CommonMark specification: http://spec.commonmark.org/0.27/#example-550
This is not an issue in recent Gitiles versions. E.g. 0.1-11 (included in Gerrit 2.13) already renders this correctly.
If anyone is interested: I added some files so that Gitiles 0.1-11 can be imported with m2eclipse, and then created a JUnit test that converts all markdown files from a folder to HTML -> see https://github.com/oberlies/gitiles/commits/v0.1-11-test
Really neat for quickly trying out how the Gitiles renderer handles corner cases!
Gitiles correctly renders links to local files if they have an alt text:
However it fails to recognize the following:
Although not being accessible, the latter is common syntax in markdown. Gitiles should also recognize it.