wped icon indicating copy to clipboard operation
wped copied to clipboard

Ideas about how to render page results?

Open xoihiox opened this issue 6 years ago • 1 comments

Hey, wonderful little tool. Thanks for this!

This may be only tangentially related to your program, but might you know how to render the page results so as to enable links, page navigation and, possibly, syntax highlighting? I am using zsh, but am not quite sure how to go about achieving this.

I piped the output from wped to a text file and tried to display with syntax highlighting in vim, but the outcome is pretty unremarkable. Is the program output displayed in any standard format? Neither wikitext nor markdown appeared to work

Cheers.

xoihiox avatar Nov 13 '18 05:11 xoihiox

It retrieves html and uses elinks to render it to text. You may try out elinks on your shell and see how to make it do what you want. Or you could implement your own html to text conversion.

mevdschee avatar Nov 13 '18 13:11 mevdschee