Crate fhtml

source ·
Expand description

fhtml - Formatting macros tailored for HTML.

This crate provides macros for building HTML content, enabling the direct integration of dynamic expressions and standard formatting into HTML tags. This approach simplifies the creation of HTML, improving both its readability and ease of use.

Macros§

  • Generates a String with formatted HTML content.
  • formatcpconst_format
    Generates a compile-time constant &'static str with formatted HTML.
  • Writes HTML content with embedded expressions into a buffer.

Functions§

  • Escapes special HTML characters in a string