Ive implemented a new displaytype called 'selectcode', its supposed to work in tandem with 'displaycode'. The new htmlcode node selectcode and the existing extractcode now work together to allow the user to select which code blocks should be downloaded.
IMO a future direction is a user option to put links underneath block code sections to allow that specific block to be downloaded directly without requiring use of the selection code. But until that is done the selectcode page and links will prove useful IMO.
Ive put a switch in that allows you to ignore 'inlined' code blocks by default, although currently the setting is only available from the selectcode view. It should also be added to the appropriate User Settings page.
As usual there are probably rough edges in this stuff, so patches welcome.
You can use this node to test, here is some inlined, here is some in c-tags and here is some block code:
print "Hello World!";
and some more
print "more" for 1..100;
Note the additional link at the bottom of the node: 'Select Code To Download'
In reply to New displaytype 'selectcode' by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |