Skip to content

Commit a437cf6

Browse files
authored
Fix broken macro documentation links (#202)
1 parent 10d90f0 commit a437cf6

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Usage/Prompts/context-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Edit these settings in the "[Advanced Formatting](advancedformatting.md)" panel.
1818

1919
This field is a template for the prompt preamble (known internally as a story string). This is the main way to add the information defined in [Character Cards](/Usage/Characters/index.md) for text completion and instruct models.
2020

21-
The template supports Handlebars syntax, custom text injections or formatting, and any other [macros](/Usage/Characters/macros.md). See the language reference here: <https://handlebarsjs.com/guide/>
21+
The template supports Handlebars syntax, custom text injections or formatting, and any other [macros](/usage/macros.md). See the language reference here: <https://handlebarsjs.com/guide/>
2222

2323
We provide the following parameters to the Handlebars evaluator (wrapped in double curly braces):
2424

Usage/Prompts/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The default Main Prompt is:
6969
7070
The \{\{char\}\} and \{\{user\}\} placeholders are replaced with the names of the character and persona that you've defined in the conversation.
7171

72-
You can use any of the supported [\{\{macro\}\}](/Usage/Characters/macros.md) tags in the Main Prompt to include information that might vary between conversations or changes as the conversation progresses.
72+
You can use any of the supported [\{\{macro\}\}](/usage/macros.md) tags in the Main Prompt to include information that might vary between conversations or changes as the conversation progresses.
7373

7474
### Adjusting the Main Prompt
7575

Usage/personas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Since `{{user}}` and `{{char}}` macros have opposite meanings when used in Perso
3333

3434
## Persona Description
3535

36-
Each persona can store a custom text description — mental and physical traits, age, occupation, or any personal details. These can also include template macros such as `{{char}}` or `{{user}}` (see [Macros](/Usage/Characters/macros.md)).
36+
Each persona can store a custom text description — mental and physical traits, age, occupation, or any personal details. These can also include template macros such as `{{char}}` or `{{user}}` (see [Macros](/usage/macros.md)).
3737

3838
Where your persona description is injected into the AI prompt depends on the **Position** setting in the Persona Management panel:
3939

extensions/Regex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Below this is a list of your scripts with some action buttons.
5656

5757
- **Name** : The label for the script shown on the extension's script list. **This is also used to target the script when triggering it via slash command or STscript.**
5858

59-
- **Find Regex** : This is the Regular Expression that is used to detect your targeted text pattern. This is usually the most complex part of any RegEx script, and is the easiest place to make mistakes. Refer to the links at the top of the page for information how to write a RegEx sequence. This box can resolve the values of [common SillyTavern macros](/Usage/Characters/macros.md) (such as \{\{user\}\}, \{\{char\}\}, etc) if the 'Macros in Find Regex' is set to do so (see below).
59+
- **Find Regex** : This is the Regular Expression that is used to detect your targeted text pattern. This is usually the most complex part of any RegEx script, and is the easiest place to make mistakes. Refer to the links at the top of the page for information how to write a RegEx sequence. This box can resolve the values of [common SillyTavern macros](/usage/macros.md) (such as \{\{user\}\}, \{\{char\}\}, etc) if the 'Macros in Find Regex' is set to do so (see below).
6060

6161
- **Replace With**: This is what will replace the matched sequence. In a very simple example, if your 'Find Regex' is `apple`, and your 'Replace With' is `orange`, the first occurrence of 'apple' would be automatically changed to 'orange' in any text where the script is applied.
6262

0 commit comments

Comments
 (0)