diff --git a/pages/common/qrencode.md b/pages/common/qrencode.md index b6148686c..7e15de851 100644 --- a/pages/common/qrencode.md +++ b/pages/common/qrencode.md @@ -10,3 +10,11 @@ - Convert an input file to a QR code and save to an output file: `qrencode -o {{path/to/output_file.png}} -r {{path/to/input_file}}` + +- Convert a string to a QR code and print it in terminal: + +`qrencode -t ansiutf8 {{string}}` + +- Convert input from pipe to a QR code and print it in terminal: + +`echo {{string}} | qrencode -t ansiutf8`