From 6e90465cdd68b0cbd30197b6472fd78d7a46a13a Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 11 Jun 2018 15:38:01 +0200 Subject: [PATCH] Update docs --- doc/changelog.asciidoc | 2 ++ doc/help/commands.asciidoc | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 54dc099cc..369ad76ff 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -61,6 +61,8 @@ Changed element if there's no selection. - The `--logfilter` argument now can be prepended with an exclamation mark (e.g. `--logfilter '!init,destroy'`) to invert the filter. +- `:view-source` now has a `--pygments` flag which uses the "old" way of + rendering sources even with QtWebEngine. Removed ~~~~~~~ diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index b19eefb97..3d60cce64 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -1365,12 +1365,16 @@ Show version information. [[view-source]] === view-source -Syntax: +:view-source [*--edit*]+ +Syntax: +:view-source [*--edit*] [*--pygments*]+ Show the source of the current page in a new tab. ==== optional arguments * +*-e*+, +*--edit*+: Edit the source in the editor instead of opening a tab. +* +*-p*+, +*--pygments*+: Use pygments to generate the view. This is always the case for QtWebKit. For QtWebEngine it may display + slightly different source. + Some JavaScript processing may be applied. + [[window-only]] === window-only