Test /
IncludeFromSelf
This page tests including a subparagraph from this page.
Also see include from other.
The markup belows attempts to include a snippet out of this page, but it doesn't work because include doesn't allow for that (yet...).
(:include Test.IncludeFromSelf#anchor lines=1..2 self=1:) |
This is a small paragraph with an anchor that has the name 'anchor' in page IncludeFromSelf. |
Below is the text from which include is supposed to extract the stuff to be included:
[[#anchor]]This is a small paragraph with an anchor that has the name 'anchor' in page [[Test/IncludeFromSelf]]. [[#anchorend]] |
This is a small paragraph with an anchor that has the name 'anchor' in page IncludeFromSelf. |
It allows that, just add self=1
to allow the inclusion of the same page. --Petko February 02, 2009, at 04:33 AM