aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/referenceLink.md
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-05-18 16:01:52 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-05-18 16:14:02 +0300
commite80b64b122950f2a623ce86ea68abdb0061bed27 (patch)
tree389c43de9470bba6b09e6332096f17c0ad9850c6 /core/testdata/format/referenceLink.md
parent4f4b86b873b7676979d3258030fdfc382e22a06b (diff)
downloaddokka-e80b64b122950f2a623ce86ea68abdb0061bed27.tar.gz
dokka-e80b64b122950f2a623ce86ea68abdb0061bed27.tar.bz2
dokka-e80b64b122950f2a623ce86ea68abdb0061bed27.zip
Support reference-style markdown links in KDoc
#KT-17924 fixed
Diffstat (limited to 'core/testdata/format/referenceLink.md')
-rw-r--r--core/testdata/format/referenceLink.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/testdata/format/referenceLink.md b/core/testdata/format/referenceLink.md
new file mode 100644
index 00000000..b3d89e0d
--- /dev/null
+++ b/core/testdata/format/referenceLink.md
@@ -0,0 +1,15 @@
+[test](test/index) / [example](test/example/index) / [a](test/example/a)
+
+# a
+
+`fun a(): Unit`
+
+It is link to [example other func](test/example/some-other-func)
+
+Sure, it is [example](test/example/some-other-func)
+
+[test](test/index) / [example](test/example/index) / [someOtherFunc](test/example/some-other-func)
+
+# someOtherFunc
+
+`fun someOtherFunc(): Unit` \ No newline at end of file