add note about using '\f' in shells to docs/formatting.md
(closes #2398, closes #2406)
This commit is contained in:
parent
d04e07d93b
commit
58e0b17211
@ -212,3 +212,12 @@ Starting a format string with '\f<Type> ' allows to set a different format strin
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
> **Note:**
|
||||
>
|
||||
> `\f` is the [Form Feed](https://en.wikipedia.org/w/index.php?title=Page_break&oldid=1027475805#Form_feed)
|
||||
> character. (ASCII code 12 or 0xc)
|
||||
>
|
||||
> Writing it as `\f` is native to JSON, but will *not* get interpreted
|
||||
> as such by most shells. To use this character there:
|
||||
> * hold `Ctrl`, then press `v` followed by `l`, resulting in `^L` or
|
||||
> * use `echo` or `printf` (e.g. `gallery-dl -f "$(echo -ne \\fM) my_module:generate_text"`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user