# Setting up Markdown Pages

{% hint style="success" %}
A key reason for the LLMS.TXT standard is to remove unnecesary markup and content from the website, so that it does not consume huge amounts of tokens in the LLM's context window.&#x20;
{% endhint %}

To this end, we want to identify key content on our pages.&#x20;

## Future

{% hint style="danger" %}
**These customization features are not yet in production.** &#x20;

Currently, Hyperflow LLMS will convert the HTML page exactly to markdown with no special modifications, inclusions, exclusions, or controls.&#x20;
{% endhint %}

## Attributes&#x20;

Body

### hf-llms-mode = ( *page mode* )&#x20;

{% hint style="danger" %}
Reserved for future use.&#x20;
{% endhint %}

Place this attribute on the `<body>` element, the topmost element in the designer.&#x20;

Specify one of these page processing modes;&#x20;

* ~~`all` ( default ), Parse the entire page into markdown~~&#x20;
* `include` - will only include content on the page which is marked for inclusion ( see below ).&#x20;
* `exclude` - will include all content on the page except those sections which are specifically marked for exclusion.&#x20;

{% hint style="info" %}
`ignore`  is handled the same as `exclude`
{% endhint %}

### hf-llms = ( *element mode* )&#x20;

Place on any element in the page.  That element and it contents will be handled according to the page mode and element mode.  &#x20;

|           |                                               |   |
| --------- | --------------------------------------------- | - |
| `exclude` | Excludes the tagged element in MD generation. |   |
|           |                                               |   |
|           |                                               |   |

* `exclude` - Excludes the tagged element in MD generation.&#x20;

Future;&#x20;

* `include` - Includes the tagged element in MD generation ( when the mode is exclude )&#x20;

### hf-llms-frontmatter = ( frontmatter mode )&#x20;

{% hint style="info" %}
Reserved for future use.&#x20;
{% endhint %}

Place on the body element.&#x20;

* `include` ( default ) includes Frontmatter&#x20;
* `exclude` does not generate Frontmatter&#x20;

#### Future&#x20;

Custom to generate cvustom frontmatter from an Embed?&#x20;

| hf-llms-mode | hf-llms = exclude                       | hf-llms = include                       |
| ------------ | --------------------------------------- | --------------------------------------- |
| all          | Ignored                                 | Ignored                                 |
| include      | Excludes this element and its children. | Ignored                                 |
| exclude      | Ignored                                 | Includes this element and its children. |

## Technical Notes

### Frontmatter

Hyperflow LLMS includes Frontmatter on each of the auto-generated Markdown Pages&#x20;

```
---
Page title
Date published
Public URL
---
```
