MobDev.QR (mob_dev v0.5.10)

Copy Markdown View Source

Renders QR codes in the terminal using Unicode half-block characters. Uses eqrcode for matrix generation.

Summary

Functions

Prints a QR code for the given content to stdout.

Returns the QR code as a string of Unicode blocks.

Functions

print(content)

@spec print(String.t()) :: :ok

Prints a QR code for the given content to stdout.

render(content)

@spec render(String.t()) :: String.t()

Returns the QR code as a string of Unicode blocks.