github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/optional/qr/qr_doc.yaml (about)

     1  - DocumentID: qr
     2    Title: >-
     3      `qr`
     4    CategoryID: optional
     5    Summary: >-
     6      Creates a QR code from STDIN
     7    Description: |-
     8      `qr` is an optional builtin which generates a PNG format image based on the
     9      input from STDIN. `qr` must be run as a method.
    10    Usage: |-
    11      ```
    12      <stdin> -> qr -> <stdout>
    13      ```
    14    Examples: |-
    15      Write the PNG to disk
    16  
    17      ```
    18      » out "Hello, World!" -> qr -> > qr.png
    19      ```
    20  
    21      Display PNG in the terminal
    22  
    23      ```
    24      » out "Hello, World!" -> qr -> open-image
    25      ```
    26    Detail: |-
    27      `qr` sets stdout's data-type to be "image", which is defined in with the
    28      `open-image` optional builtin. So if you have that disabled then you may
    29      have to `cast` the output in some circumstances.
    30    Synonyms:
    31    Related:
    32      - open-image
    33      - cast