# Introduction

Welcome to Tagly Documentation. Tagly is just a simple HTML input tag built on the power of Javascript. I don't have a long description of this library, so get straight to the point.

## Simple Usage

To use this library, you can directly download this repository and embed minified javascript file from dist folder to your page. Please see example bellow:

```html
<!DOCTYPE html>
<html lang="en">
    <body>
        <form>
            <div id="tagly"></div>
            <button type="submit">Submit</button>
        </form>

        <script src="path/to/tagly.min.js"></script>
        <script>
            new Tagly(document.querySelector('div#tagly'))
        </script>
    </body>
</html>
```


---

# 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://kykurniawan.gitbook.io/tagly/introduction.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.
