Comment

Comment by devxpy

Can anyone please tell me how the author able to use html syntax in rust?

I get that there are macros, but how are html tags valid syntax? Is rust just interpreting the html content as strings?

I've only ever seen C macros, and I don't remember seeing this kind of wizardry happening there.

parent devxpy 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton