Shini92 :ablobblewobble: · @Shini92
186 followers · 1113 posts · Server mas.to

As you might have seen, I do a pause from right now
But this is just due to the awesome weather and I enjoy some other little things like starting a new journey in
Also at company work, it is right now totally frustrating and therefore I don’t need so much code right now outside of work πŸ˜–

#nomanssky #hsml

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
186 followers · 1105 posts · Server mas.to

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

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
185 followers · 1103 posts · Server mas.to

Text blocks are now a thing in blobreachbounce

They can be used to write rich text *like longer lorem ipsum stuff* or **embedded** or !
The text will **not** escaped ( does this), so you can do stuff like:
```html
.alert.
<span class="closebtn">&times;</span>
<strong>Danger!</strong> Indicates a dangerous or potentially negative action.
```
This would result in valid (*by design*)

github.com/Shinigami92/hsml/co

#html #pugjs #javascript #css #hsml

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
185 followers · 1090 posts · Server mas.to

This is a first working example using with github.com/Shinigami92/vscode-

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

#hsml #vscode

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
184 followers · 1078 posts · Server mas.to

I made some minimal first steps with using in so I can call in πŸš€

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

github.com/Shinigami92/hsml/pu

#nodejs #hsml #Rust #wasmpack #wasm

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
184 followers · 1076 posts · Server mas.to

When using a , 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 #cli

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
184 followers · 1076 posts · Server mas.to

@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

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
183 followers · 1058 posts · Server mas.to

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

#hsml #html

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
179 followers · 1035 posts · Server mas.to

I wrote down what I have in mind to plan the for

github.com/Shinigami92/hsml/di

Please do not hesitate to communicate additions or suggested changes

#hsml #cli

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
179 followers · 1035 posts · Server mas.to

now supports more complex arbitrary values πŸ₯³

youtube.com/watch?v=-nW2j_nVuN

#tailwindcss #hsml

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
179 followers · 1031 posts · Server mas.to

I'm thinking about how I could a good for
I may orientate on existing CLIs like , or

so e.g.

```bash
hsml compile # compiles all .hsml files to .html inside current folder and recursive below
hsml compile ./example.hsml # just compiles the given file
hsml fmt # formats
hsml fmt # just formats given file
hsml parse ./example.hsml # parses the given file and std::out as json AST
```

But I'm not sure if this fulfills all need or if I need to change something

#pnpm #deno #Rust #hsml #cli

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
179 followers · 1028 posts · Server mas.to

Today I started implementing standalone comments in
So, it is now possible to add native comments and developer comments
```
// this is a root dev comment
//! this is a root native comment (will get rendered)
div
// this is a child comment
p another tag
//! this is a child comment that gets rendered
```
Comments behind tags in the same line do not work yet, as do comments within attributes, but are definitely planned πŸ™‚

#hsml

Last updated 1 year ago

Shini92 :ablobblewobble: · @Shini92
179 followers · 1012 posts · Server mas.to

now has the ability to read a file from the command line and create an HTML file from it πŸ₯³

At the current stage 🚧 of the project, I don't want to release the crate just yet, so you'll need to clone the repo if you want to try it

Then just run e.g. `cargo run -- example.hsml` and an `example.html` will be written (or panic 😜)

*The arguments are subject to change at any time before an official release*

*It uses under the hoo*d

github.com/Shinigami92/hsml

#wip #html #Rust #clap #cli #hsml

Last updated 1 year ago