Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textarea @var config type #1636

Open
Xuerian opened this issue Aug 3, 2023 · 0 comments
Open

Textarea @var config type #1636

Xuerian opened this issue Aug 3, 2023 · 0 comments

Comments

@Xuerian
Copy link

Xuerian commented Aug 3, 2023

Use case:

  • Entering a list of items

For example, https://userstyles.world/style/9719 provides a 'text' var to generate a set of title match rules. Using 'text' means that list looks like 'Game Name 1, Game Name 2, Game Name 3' in a small single line entry.

From what I could tell, supporting a textarea type would be the most expedient way to improve this situation.

I tried to do it myself and got some of the way there, but could not wrap my head around the parser rules and how to handle an unquoted list with newlines. I might be able to finish it if there was some reference for that I could read or explanation of the surrounding system.

Side note, I didn't even know style var/configs existed before now, that's cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant