postcss / sugarss

Indent-based CSS syntax for PostCSS
MIT License
708 stars 39 forks source link

documentation #69

Closed ghost closed 2 years ago

ghost commented 5 years ago

documentation please.

ai commented 5 years ago

@atilkan What question do you have to open it in docs?

ghost commented 5 years ago

@ai Syntax and staff.

ai commented 5 years ago

We have examples in our docs.

Are you try to say, that examples is not enough? What format will be better?

ghost commented 5 years ago

It can be better format but i just expected more details and examples. Also searching google ends up with dead links.

ai commented 5 years ago

@atilkan I understand. But I can’t write good docs without your help, because I can’t understand hard parts. Can you help me?

For instance, can you make a list of the questions? Yeap, understand, that it is not easy sometimes, because to make a question, you need to understand what you want. But here you can tell me just your story. Where do you want to use SugarSS? Why do you want to use it? What are your worries about it? What do you want to make?

ghost commented 5 years ago

I want to learn a bit and see if it fits my needs. Coming from Stylus and this seemed similar. Stylus not maintained so i am in search of something similar to build a library. For example; Does it support file globing? Does it have build in functions?

ai commented 5 years ago

Do Syntax → Other and Usage sections now answer to your questions?

ghost commented 5 years ago

Nope. They don't scratch the surface.

jt3k commented 4 years ago

can i import json file? for example how it works in stylus

ai commented 4 years ago

@jt3k you can use postcss-js as an input parser to parse JSON-like structures

marceloclp commented 2 years ago

Hey @ai great job as always! Thank you for this plugin.

Sorry for hijacking this issue, but I feel like this might just be a lack of documentation.

I am trying to get the tailwindcss @apply directives to work with multiline, but none of the multiline selectors specified in the docs seem to work. Is this just not supported or do I need additional configuration for multiline to work with the @apply directive?

ai commented 2 years ago

@marceloclp please create another issue with an example