mirror of
https://github.com/SillyTavern/SillyTavern-Docs.git
synced 2026-10-15 18:01:56 +00:00
[PR #181] [MERGED] Macros 2.0 - Add documentation for variable shorthand syntax and case-insensitivity #186
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Docs#186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SillyTavern/SillyTavern-Docs/pull/181
Author: @Wolfsblvt
Created: 1/3/2026
Status: ✅ Merged
Merged: 1/3/2026
Merged by: @Cohee1207
Base:
main← Head:macros-2.0-variable-shorthands📝 Commits (4)
4affe90Add documentation for variable shorthand syntax and case-insensitivity26d4ce2Fix incorrect macro equivalents in variable shorthand documentationfa5d3ddAdd examples and clarify variable shorthand syntax documentation57bffa6Add clarification section for flags-like prefix operators in variable shorthand📊 Changes
1 file changed (+123 additions, -2 deletions)
View changed files
📝
Usage/macros.md(+123 -2)📄 Description
This pull request updates the documentation in
Usage/macros.mdto clarify macro usage and introduce a new "Variable Shorthand Syntax" feature for working with variables in macros. The most important changes are the addition of detailed instructions and examples for using variable shorthands, updates to condition handling, and the reorganization of flag documentation.Variable Shorthand Feature
.myvar,$myvar, etc.), with examples and notes on staging availability.Condition Handling
.myFlag,$globalFlag) in macro conditions, with examples.Macro Usage Clarification
Flags Documentation Reorganization
.and `) from the planned flags section to a new "Implemented Flags" table, with descriptions and usage notes.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.