> ## Documentation Index
> Fetch the complete documentation index at: https://docs.u301.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Magic+

> Explore magic+ suffixes to access more quick U301 services.

# What is Magic+

Magic+ is a powerful and convenient tool that allows you to access additional U301 features.
To use Magic+, simply append a `+` sign and a command to the end of any shortened URL you generated on U301.

## `+qrcode.svg` Generate a QR code for the short URL

You can suffix a `+qrcode.svg` to any shortened URL to generate a SVG QRCode for it.
SVG images can be scaled to any size without losing quality, making them ideal for responsive web design or print.

Here is an example:
the shortened URL is [https://u301.co/ak](https://u301.co/ak).\
visit [https://u301.co/ak+qrcode.svg](https://u301.co/ak+qrcode.svg) to get the QRCode.

### Query Parameters

You can pass query parameters to the URL queries.

* `width`: The size of the QRCode, default is `512`.
* `margin`: The margin of the QRCode, default is `0`.
* `level`
  Error correction capability allows to successfully scan a QR Code even if the symbol is dirty or damaged.
  The error correction level of the QRCode, default is `M`. Acceptable values are:
  * `L`: Low
  * `M`: Medium
  * `Q`: Quartile
  * `H`: High
* `dark`: The hex color of the dots, default is `333333`.
* `light`: The hex color of the background, default is `FFFFFF`.
* `download`: if set, the QRCode will be downloaded as a file.

### Demonstration

Change the qrcode to purple, and make it smaller, visit this URL\
[https://u301.co/ak+qrcode.svg?width=96\&dark=581c87](https://u301.co/ak+qrcode.svg?width=96\&dark=581c87)

To Download the above QRCode\
[https://u301.co/ak+qrcode.svg?width=96\&dark=581c87\&download](https://u301.co/ak+qrcode.svg?width=96\&dark=581c87\&download)
