Macro include_style

Source
macro_rules! include_style {
    ($file:expr $(,)?) => { ... };
}
Expand description

Bakes css from a file into hyperide. Will insert it inside <style> tags and allows you to write styles in a .css file but include it in generated HTML without needing to serve the file separately and causing an additional request from the client.

hyperide! {
    include_style!("foo.css")
};