Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mopires
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mopires
2y ago
Yes. But it truly doesn't have angle brackets. At the moment, the features that make it different from pure html are its feature tags and config tags. For example !doctype, meta viewport are built in. Stylesheets and javascripts can be
2.
▲
by
mopires
2y ago
About that... I think I got ahead of myself and forgot about this detail. I'm working on this. And will comment on this post when it's public.
3.
▲
by
mopires
2y ago
Thank you for you appreciation! I'm very proud of this project. Thank you for the upvote.
4.
▲
by
mopires
2y ago
Thank you sir. Closing tags are a very good feedback about the domains of a tag.
5.
▲
by
mopires
2y ago
Also, if we remove closing markup, the only way to understand if a markup is closed woud be by checking if a new markup is open. That doesn`t seem efficient.
6.
▲
by
mopires
2y ago
Shorthand definitions would be a good feature to be added, but it needs refinement. We need to think carefully about how to implement in a way that would fit gracefully with the syntax and with the developer experience.
7.
▲
by
mopires
2y ago
That`s correct. It`s not sensitive to anything. Just open and close tags. It is less noisy that way. Removing the bracktes, not replacing it by something else.
8.
▲
by
mopires
2y ago
I have answered this in a previous comment. I'll past here for your convinience. It's a snippet for the post I'll make about this very point. https://news.ycombinator.com/item?id=41119414
9.
▲
by
mopires
2y ago
It's not identation based. Removing the closing tags would just not close anything. Everything would be immediately nested hehe
10.
▲
by
mopires
2y ago
Right... It's not identation based. Why remove the close tags?
11.
▲
by
mopires
2y ago
That is a very interesting argument and very well presented. It gave me something to think about. Although, have in mind that this is a markup language. It's not a script language where you will make complex logic. It's intended
12.
▲
by
mopires
2y ago
I'm not using identation. I'm actually using closing tags with a "/". For example: table [...] /table
13.
▲
by
mopires
2y ago
This is a snippet of a article I'll post about it: "[...] popular preprocessors for HTML out there, have one thing in common. They replace the angle brackets, then add some functionalities on top of it. If the symbols of a tag ar
14.
▲
by
mopires
2y ago
I'm currently building the documentation
15.
▲
by
mopires
2y ago
Thank you for the suggestion, I've done something like this in early versions. But removed thinking the gif would be enough.
16.
▲
Show HN: Preprocessor I've been working 4 years now
(npmjs.com)
78 points
by
mopires
2y ago
|
47 comments