[Pmwiki-users] Re: [[include: ... ]] part of a page

John Rankin john.rankin
Sun Apr 18 19:04:42 CDT 2004


On Sunday, 18 April 2004 2:05 AM, Christian Ridderstr?m <chr at home.se> wrote:

>In case the above was confusing, here's a list of examples:
>
>Example			Action
>[[include:PgName]]	Includes entire page called 'PgName'
>[[include:PgName#]]	Include 1st paragraph of the page called 'PgName'
>[[include:PgName#A]]	Include paragraph with anchor #A, i.e named 'A'
>[[include:PgName#A#]]	Include paragraph '#A' and the rest of the page
>[[include:PgName##B]]	Include all paragraphs up to paragraph '#B'
>[[include:PgName#A#B]]	Include paragraph '#A' up to paragraph '#B'
>[[include:PgName##]]	Includes all paragraphs, i.e. entire page
>
>
I like it.
>
...
>
>Yes, I think the entire line should be considered one entity. If you
>actually wanted to split something up, could you do it like
>this?
>
>	Bla bla bla bla bla bla bla bla bla \
>	[[#anchor]]aba aba aba aba
>	baba baba baba baba
>
>so that [[include:PageName#anchor]] will insert:
>
>	aba aba aba aba
>	baba baba baba baba

Provided that including Abba is optional...

>
>/Christian
>

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list