diff options
| author | alex <alex@pdp7.net> | 2026-02-14 21:23:16 +0100 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2026-02-14 21:23:16 +0100 |
| commit | 7f5e2cdc0b81d46fd6255ebae8cf4f6c92c2030d (patch) | |
| tree | cf5d3339fab9d48b2bb6aff1662202298658f03f /gemini-to-web/README.md | |
| parent | 59af6b390f997b20b68452ded884f523dfdc0ec9 (diff) | |
Import initial gemini-to-web
Diffstat (limited to 'gemini-to-web/README.md')
| -rw-r--r-- | gemini-to-web/README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gemini-to-web/README.md b/gemini-to-web/README.md new file mode 100644 index 0000000..419beef --- /dev/null +++ b/gemini-to-web/README.md @@ -0,0 +1,29 @@ +# `gemini-to-web` + +```console +$ uv run coppewebite-parse <<EOT +> # Hello +> +> World. +> EOT +[{"level": 1, "heading_text": "Hello", "type": "HeadingLine"}, {"text": "", "type": "TextLine"}, {"text": "World.", "type": "TextLine"}] +``` + +```console +$ uv run coppewebite-to-html <<EOT +> # Hello +> +> World. +> EOT +<html> + <head> + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <title>Hello</title> + </head> + <body> + <h1>Hello</h1> + <p>World.</p> + </body> +</html> +``` |
