# gmi-web **Vision**: Provide the lowest common denominator between HTML/CSS/JS and Gemini. # HTML spec ## `` The generated HTML document must have a `` tag with _at minimum_ the following: ```html ``` You might want to also include these (or whatever else): ```html ``` ## `` The converted Gemini document should be placed inside the ``. Due to the ambiguity of HTML several translations from Gemini exist in the wild. I propose the following standard: ```

↔ =>

          ↔ ```
       ↔ #[##]
  • ↔ *
    ↔ > ``` The `` for a link should be presented un-wrapped without any parent elements. Many implementations use `
    ` or `

    ` to enforce "block" styling as opposed to the default "inline" which renders the link next to the previous block instead of below it. But the nested markup adds an unnecessary layer of indirection in semantics. The best way to handle this is to include `` in the ``. Empty lines should simply be represented as `


    ` this sets up `contenteditable=true` to add content to the line compared to just `
    `. Take care to render `
    ` blocks with their original formatting, DO NOT indent the generated
    HTML for these tags.
    
    Much like the lines of a `
    `, the lines of `
  • list items
  • ` need to be wrapped in `