tailwind media queries fail
i figured out how to get this working on windows but something like tw media queries fail beacause of the use of the colon sm:text-5xl
h2.text-4xl.sm:text-5xl
"Text Marketing Made Simple"
Good to know! In Tim, the colon marks the begining of the HTML content (string). You can use the class="sm:text-5xl" attribute:
h2.text-4xl class="sm:text-5xl": "Text marketing made..."
Ahh! Great! The last thing I'm trying to figure out is how to write html comments?
Not implemented, yet. You can use // inline comment... but will not transpile to HTML
Is there no way to just write raw HTML at the moment?
Use three pairs of double-quotes to assign static strings
const rawHtml = """
<button onclick="alert('ok')">Click me</button>
"""
div: $rawHtml // insert the raw html to a timl element