Get the files on 9Minecraft
Patchouli uses a custom formatting system to style text within books. These codes are placed directly in the JSON strings.
Common Formatting Codes
| Code | Effect | Description |
|---|---|---|
$(br) |
Line Break | Moves text to the next line. |
$(br2) |
Paragraph | Adds a double line break. |
$(li) |
List Item | Adds a bullet point. |
$(c:hex) |
Color | Changes text color (e.g., $(c:ff0000) for red). |
$(l:id) |
Link | Creates a clickable link to another entry or category. |
$(bold) |
Bold | Makes the following text bold. |
$(italic) |
Italic | Makes the following text italicized. |
$ |
Reset | Clears all active formatting. |
Macros
Creators can define custom macros to simplify long formatting strings. For example, a macro $(item) could be set to $(c:blue)$(bold) to
highlight item names consistently.












