Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inclusion of specific lines only #2

Open
archusr opened this issue Jun 12, 2017 · 1 comment
Open

inclusion of specific lines only #2

archusr opened this issue Jun 12, 2017 · 1 comment

Comments

@archusr
Copy link

archusr commented Jun 12, 2017

Thanks for this great extension! I'm looking for a even more granular inclusion, though, so to build e. g. a table out of single lines from other wiki pages:

{{include(Page, /grep/)}} would only include lines matching grep from Page.

Example
PageA contains:
|attr a|foo|
|attr b|bar|
PageB contains:
|attr b|baz|

{{include(PageA, /attr b/)}}
{{include(PageB, /attr b/)}}

would yield:
|attr b|bar|
|attr b|baz|

Amazing would be to combine this with {{child_pages}} somehow, to state {{include_child_pages(ParentPage, /attr b/)}} ...

@taikii
Copy link
Owner

taikii commented Sep 13, 2017

I think the Wiki is too good to grep, Because the Wiki is well structured text.

I have made the option to include the content of the section in the table.
Can you satisfy your request even for just a bit with this feature?

Example: Include a section with options in table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants