mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 03:47:20 +00:00
c8fda8f4d3
Instead of having an initial pass where we collect reference definitions, we create links with target `##SUBST##something` or `##REF##something` or `##NOTE##something`, and resolve these in a pass over the parsed AST. This allows us to handle link references that are not at the top level. Closes #10281.
1.5 KiB
1.5 KiB
% pandoc -f rst -t native
`Want Speed? Pass by Value`_
.. note::
For more information about the pass-by-value idiom, read: `Want Speed? Pass by Value`_.
.. _Want Speed? Pass by Value: https://web.archive.org/web/20140205194657/http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/
^D
[ Para
[ Link
( "" , [] , [] )
[ Str "Want"
, Space
, Str "Speed?"
, Space
, Str "Pass"
, Space
, Str "by"
, Space
, Str "Value"
]
( "https://web.archive.org/web/20140205194657/http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/"
, ""
)
]
, Div
( "" , [ "note" ] , [] )
[ Div ( "" , [ "title" ] , [] ) [ Para [ Str "Note" ] ]
, Para
[ Str "For"
, Space
, Str "more"
, Space
, Str "information"
, Space
, Str "about"
, Space
, Str "the"
, Space
, Str "pass-by-value"
, Space
, Str "idiom,"
, Space
, Str "read:"
, Space
, Link
( "" , [] , [] )
[ Str "Want"
, Space
, Str "Speed?"
, Space
, Str "Pass"
, Space
, Str "by"
, Space
, Str "Value"
]
( "https://web.archive.org/web/20140205194657/http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/"
, ""
)
, Str "."
]
]
]