* add new autofmt sample * Feat: implement rustfmt::skip support for rsx * generally improve error handling with better expect messages * wip: nested rsx formatting and expression formatting * nested rsx formatting works * collapse autofmt crate * cast indent through macros * use proper whitespace * no more eating comments! * Use proper error handling
20 lines
602 B
R
20 lines
602 B
R
rsx! {
|
|
div {
|
|
div {
|
|
div {
|
|
div {
|
|
section { class: "body-font overflow-hidden dark:bg-ideblack",
|
|
div { class: "container px-6 mx-auto",
|
|
div { class: "-my-8 divide-y-2 divide-gray-100",
|
|
{POSTS.iter().enumerate().map(|(id, post)| rsx! {
|
|
BlogPostItem { post, id }
|
|
})}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|