# Create a document

A document is a structured record of information. While in the past it was just a static file (like a PDF or a Word doc), today it is a unit of knowledge that can contain text, data, media, and even live automations.

### Types of Modern Documents:

* Collaborative Documents (Cloud): Tools like Google Docs or Microsoft 365, where multiple people edit in real-time.
* Structured Documents (Wikis/Knowledge Bases): Tools like Notion or Obsidian, where documents are non-linear and include databases, filters, and inter-connected links.
* Technical Documentation: Crucial in programming, these explain how a system or code works (e.g., Markdown files on GitHub).

### How do I edit a Document?

The page and editing mode are exactly the same as the prompt; if you haven't checked it yet, please go back a few steps.

{% hint style="info" %}
Use Markdown to create your documents. It is a lightweight format accepted by almost every platform, and it keeps formatting perfectly when copied and pasted into prompts or automation systems.
{% endhint %}

Now that you know about document, we can move on to table.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snackprompt.com/how-to/document.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
