Allow showing page parts as independent pages
Updated description:
Justification: It allows to easily 'quote' a part of the page.
Current: One can refer to a specific location of a page e.g., http://abc.com/page.html#location
Problem: This technique can only show where to start reading, not where to stop.
Suggested: Give a way to be able to quote (or highlight) a section of a page e.g., http://abc.com/page.html?show=section-id which will show either the indicated section of the page only or show the full page but highlight the indicated page in some way
This feature can be useful to readers as well as authors.
Hi @damithc! Wondering if using 'copy link to highlight' would be sufficient? For example,
Clicking 'copy link to highlight' would produce a link like this that already highlights the relevant parts.
However, this would be more cumbersome for sure because you would have to go to the page and highlight it. The links would also not be dynamically updated as well.
If trying to quote, I think using includes now may work.
For example, something like this:
> <include src="userGuide/addingNavigationButtons.md#overview" />
would generate
For copy link to highlight -- this only works on Chrome! Though it does direct you to the right place on the page with other navigation, so there is not a strong negative effect when using it.
I agree that using includes for quoting sections - potentially within a modal or popover on text, if you don't want it so visibly - would be a good use of includes. (though @yucheng11122017 you might want to reupload your image file)
(though @yucheng11122017 you might want to reupload your image file) Opps my bad - edited to have the correct image
For copy link to highlight -- this only works on Chrome! Though it does direct you to the right place on the page with other navigation, so there is not a strong negative effect when using it.
Yeah i think the right click thing seems to be chrome specific UI. But there should be other ways to do this in other browsers as well :)
Hello @damithc can we close this issue?
Thanks for looking into this @yucheng11122017 @kaixin-hc
'link with highlight' didn't exist when I posted this, but even now, that feature is not good when you want to highlight a larger chunk of text (and other things like images, tables etc.) and is very very fragile (the link will not work as intended the moment even one character changes in the target text).
What I'm thinking of here is to be able to target a div based on div id. That is, a page should be able to 'light up' (or dim out the rest) if we specify a pattern such as ?highlight=my-div-id in the URL.