> For the complete documentation index, see [llms.txt](https://junkeh.gitbook.io/easyph/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://junkeh.gitbook.io/easyph/customize/formatting.md).

# Formatting

Formatting is a NEW feature that replaces letters/words from a placeholder into something else,\
for example:

```yaml
formats:
  format1:
    placeholder: '%player_name%'
    replace:
      J: A
      u: B
      n: C
      keh: DEFGHI
```

If you do `%easyph_format1%` and your username contains J or any of the letters listed (for example My username is Junkeh) The output will keep it the same but replaces those letters, (so my output would be ABCDEFGHI instead of Junkeh

`replace_all:` will check if the ENTIRE placeholder is the same so it  replaces it (this is a faster way to format placeholders)

```yaml
formats:
  format1:
    placeholder: '%player_name%'
    replace_all:
      J: A
      u: B
      n: C
      keh: DEFGHI
```

formats are also on its own section, so it wont be under the placeholders category!

{% hint style="warning" %}
The replaces ARE CASE SENSITIVE
{% endhint %}

### Why is this feature a thing?

because you can do stuff like this:\
which will change ANY username to use a special font like this:

<figure><img src="/files/AiGTYtMexVPtVlYfUU7b" alt=""><figcaption></figcaption></figure>

```yaml
formats:
  format1:
    placeholder: '%player_name%'
    replace:
      a: ꐡ
      A: ꐡ
      b: ꐢ
      B: ꐢ
      c: ꐣ
      C: ꐣ
      d: ꐤ
      D: ꐤ
      e: ꐥ
      E: ꐥ
      f: ꐦ
      F: ꐦ
      g: ꐧ
      G: ꐧ
      h: ꐨ
      H: ꐨ
      i: ꐩ
      I: ꐩ
      j: ꐪ
      J: ꐪ
      k: ꐫ
      K: ꐫ
      l: ꐬ
      L: ꐬ
      m: ꐭ
      M: ꐭ
      n: ꐮ
      N: ꐮ
      o: ꐯ
      O: ꐯ
      p: ꐰ
      P: ꐰ
      q: ꐱ
      Q: ꐱ
      r: ꐲ
      R: ꐲ
      s: ꐳ
      S: ꐳ
      t: ꐴ
      T: ꐴ
      u: ꐵ
      U: ꐵ
      v: ꐶ
      V: ꐶ
      w: ꐷ
      W: ꐷ
      x: ꐸ
      X: ꐸ
      y: ꐹ
      Y: ꐹ
      z: ꐺ
      Z: ꐺ
      0: ꐻ
      1: ꐼ
      2: ꐽ
      3: ꐾ
      4: ꐿ
      5: ꑀ
      6: ꑁ
      7: ꑂ
      8: ꑃ
      9: ꑄ
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://junkeh.gitbook.io/easyph/customize/formatting.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.
