From 563c9c8687a62acc7361fb49126a1d2030f3a11e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 27 Jun 2017 14:35:03 +0200 Subject: RST reader: Handle chained link definitions. For example, .. _hello: .. _goodbye: example.com Here both `hello` and `goodbye` should link to `example.com`. Fixes the first part of #262. --- test/command/262.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/command/262.md (limited to 'test') diff --git a/test/command/262.md b/test/command/262.md new file mode 100644 index 000000000..e23e2d866 --- /dev/null +++ b/test/command/262.md @@ -0,0 +1,9 @@ +``` +% pandoc -f rst +`hello`_ and `goodbye`_ + +.. _hello: +.. _goodbye: example.com +^D +

hello and goodbye

+``` -- cgit v1.2.3