This plugin makes possible include wiki section.
Caution!) This plugin will overwrite the default include macro.
{{include(Foo)}}
{{include(Foo, Bar)}} -- to include Bar section of Foo page
> {{include(Child, Sec2)}}
> {{include(Child, Sec2, noheading, nosubsection)}}
Both of the below codes give the same result.
{{include_by_table(Sec1, Sec2)
Page1
Page2
Page3
}}
|_. |_. Sec1 |_. Sec2 |
| [[Child1]] | {{include(Child1, Sec1, noheading, nosubsection, noraise)}} | {{include(Child1, Sec2, noheading, nosubsection, noraise)}} |
| [[Child2]] | {{include(Child2, Sec1, noheading, nosubsection, noraise)}} | {{include(Child2, Sec2, noheading, nosubsection, noraise)}} |
| [[Child3]] | {{include(Child3, Sec1, noheading, nosubsection, noraise)}} | {{include(Child3, Sec2, noheading, nosubsection, noraise)}} |
{{include_by_table_transpose(Page1, Page2, Page3)
Sec1
Sec2
}}
- Clone or copy files into the Redmine plugins directory
git clone https://github.com/taikii/redmine_include_macro_extension.git plugins/redmine_include_macro_extension
- Restart Redmine
This plugin is released under the MIT License.