mint-lang / mint-website-rails

Source code of Mint Language website
https://mint-lang.com
BSD 3-Clause "New" or "Revised" License
9 stars 33 forks source link

Explain `<{ ... }>` syntax earlier #81

Open nilslindemann opened 3 years ago

nilslindemann commented 3 years ago

The first example on page 5 in the reference uses the (to me) uncommon <{ ... }> syntax, which (I guess) needs to be used when one wants to join strings. You could explain its meaning at this point, or earlier.

nilslindemann commented 3 years ago

How do I add labels? Could have documentation.

gdotdesign commented 3 years ago

The first example on page 5 in the reference uses the (to me) uncommon <{ ... }> syntax, which (I guess) needs to be used when one wants to join strings. You could explain its meaning at this point, or earlier.

I started working on a tutorial and this is good feedback :pray: <{ ... }> is basically a way inject data into an HTML structure - in React this would be {...}.

How do I add labels? Could have documentation.

I don't understand the question. Are you referring to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label?

nilslindemann commented 3 years ago

Thanks too for your feedback :pray:

I just see, you called it Html expression, that makes sense.

I am talking of the labels which some of the issues have.

nilslindemann commented 3 years ago

Ok, I guess labels is something only you can add.

gdotdesign commented 3 years ago

I am talking of the labels which some of the issues have.

I've added it.