Skip to content

Format header

Homunculus edited this page Oct 15, 2026 · 2 revisions

InspeQtR recognises formats such as tables (CSV), JSON and Markdown automatically. A header is optional: it tells the app exactly how to read the content when automatic detection might guess wrong. Add it as the first line, with the content below it:

#!<format>
<content>

<format> is one of json, html, xml, svg, csv, markdown, sql, text, or the name of a programming or markup language (for example python, js, css or toml), which shows the content as highlighted code.

  • Headers are read once the one-time purchase is active.
  • The header line is not shown as part of the content, and is not saved or copied with it.
  • A first line with any other name (a URL, WiFi, an unknown word) is not a header and stays part of the text. A real script line such as #!/bin/sh is never a header.
  • If the content cannot be read as that format, you still get its code and raw views.
  • Other scanners may show the header line as part of the text.

Examples

CSV table:

#!csv
name,role
Ada,Engineer
Linus,Maintainer

JSON:

#!json
{"name": "QR", "tags": ["a", "b"]}

Markdown:

#!markdown
# Menu

- Pasta
- Pizza

Clone this wiki locally