Sadly the GitHub org name `hsml` is already taken 😿
So today I created https://github.com/hsml-lab and moved all repos into it 🥳

In the next days I hopefully find some energy to setup a backlog and start from there working further on it.

#hsml

HSML

Hyper Short Markup Language is a pugjs inspired HTML preprocessor - HSML

GitHub
@ayo Absolutely crushed by #Vue #Amsterdam 🤯
But now I got energy again to tackle #hsml (I created a first PoC 2 years ago)
However that means I need to learn how to write an #lsp 😳
As you might have seen, I do a pause from #hsml right now
But this is just due to the awesome weather and I enjoy some other little things like starting a new journey in #nomanssky
Also at company work, it is right now totally frustrating and therefore I don’t need so much code right now outside of work 😖

Theoretically only some minor basic stuff is missing
1. doctype for the start of a file
2. comments behind attributes

Then everything basic is implemented and I can start working on other more advanced stuff like formatting and pretty compiled

#hsml

Text blocks are now a thing in #hsml  

They can be used to write rich text *like longer lorem ipsum stuff* or **embedded** #css or #javascript!
The text will **not** escaped (#pugjs does this), so you can do stuff like:

```html
.alert.
<span class="closebtn">×</span>
<strong>Danger!</strong> Indicates a dangerous or potentially negative action.
```

This would result in valid #html (*by design*)

https://github.com/Shinigami92/hsml/commit/25a563687464994e9d0cd31c0b9ec604c176f46b

feat: text block (#7) · Shinigami92/hsml@25a5636

A pug-inspired HTML preprocessor. Contribute to Shinigami92/hsml development by creating an account on GitHub.

GitHub

This is a first working example using #vscode with https://github.com/Shinigami92/vscode-hsml

I'm learning how **tmLanguage** is working

#hsml

GitHub - Shinigami92/vscode-hsml

Contribute to Shinigami92/vscode-hsml development by creating an account on GitHub.

GitHub

I made some minimal first steps with #wasm using #wasmpack in #Rust so I can call #hsml in #nodejs 🚀

Now I can try to implement a `vite-plugin-vue-hsml` to support
```
<template lang="hsml"/>
h1 This is hsml :)
</template>
```
in `.vue` files

https://github.com/Shinigami92/hsml/pull/6/files

feat: wasm by Shinigami92 · Pull Request #6 · Shinigami92/hsml

A pug-inspired HTML preprocessor. Contribute to Shinigami92/hsml development by creating an account on GitHub.

GitHub

When using a #cli, what would you prefer?

1. Using `hsml compile .` explicitly and get a warning/error when not providing an input file/folder?

or

2. Using `hsml compile` without an input and it will use the current working directory as default/fallback?

Feel also free to comment why you prefer the one over the other 🙂

#hsml

hsml compile .
0%
hsml compile
100%
Poll ended at .

@surma Ah okay, good to know 👍
In this case I think I will just add a compile flag later on if requested and fill fail by default on duplicate `id`/attribute.
Also I will merge class literals with normal classes.

#hsml

@surma you told us some day that #html can contain multiple same attributes. But is this also possible for `id` or `class`?
I'm currently researching a bit (for #hsml) about this topic and some tools like JSFiddle fails with duplicate `id` not allowed (as same as for `class`).