agnaistic / agnai

AI Agnostic (Multi-user and Multi-bot) Chat with Fictional Characters. Designed with scale in mind.
https://agnai.chat
GNU Affero General Public License v3.0
523 stars 100 forks source link

{{newline}} Placeholder #1032

Open Archemagoi opened 2 weeks ago

Archemagoi commented 2 weeks ago

Is your feature request related to a problem? Please describe. Using nested placeholders lacks ability to crate a newlines without breaking the placeholder.

Describe the solution you'd like {{newline}} placeholder might help with creating a newline withing placeholder without breaking since placeholders are already have a possibility to be nested

Example

Species: {{random Nidoking {{newline}} Level: {{roll 1d20+4}}, Pidget {{newline}} Level: {{roll 2d6+1}} }}

Expected outputs:

Nidoking
Level: 18
Pidget
Level: 7

Describe alternatives you've considered using \n to effectively insert newline (not implemented)

Additional context Add any other context or screenshots about the feature request here.