anytomd 1.2.2

Pure Rust library that converts various document formats into Markdown
Documentation
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Sample HTML Document</title>
    <style>
        body { font-family: sans-serif; color: #333; }
        h1 { color: blue; }
    </style>
    <script>
        console.log("This should not appear in output");
    </script>
</head>
<body>

<h1>Main Heading</h1>

<p>This is a <strong>bold</strong> and <em>italic</em> paragraph with <code>inline code</code>.</p>

<h2>Links and Images</h2>

<p>Visit <a href="https://example.com">Example Site</a> for more info.</p>

<p><img src="logo.png" alt="Company Logo"></p>

<h3>Lists</h3>

<p>Unordered list:</p>
<ul>
    <li>Apple</li>
    <li>Banana</li>
    <li>Cherry
        <ul>
            <li>Dark cherry</li>
            <li>Maraschino</li>
        </ul>
    </li>
</ul>

<p>Ordered list:</p>
<ol>
    <li>First step</li>
    <li>Second step</li>
    <li>Third step</li>
</ol>

<h2>Data Table</h2>

<table>
    <thead>
        <tr>
            <th>Name</th>
            <th>City</th>
            <th>Score</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Alice</td>
            <td>Seoul</td>
            <td>95</td>
        </tr>
        <tr>
            <td>Bob</td>
            <td>Tokyo</td>
            <td>88</td>
        </tr>
        <tr>
            <td>Charlie</td>
            <td>Beijing</td>
            <td>92</td>
        </tr>
    </tbody>
</table>

<h2>Code Block</h2>

<pre><code>fn main() {
    println!("Hello, world!");
}</code></pre>

<h2>Blockquote</h2>

<blockquote>
    <p>The only way to do great work is to love what you do.</p>
</blockquote>

<hr>

<h2>Unicode and Emoji</h2>

<p>한국어 텍스트: 안녕하세요, 세계!</p>
<p>中文文本: 你好,世界!</p>
<p>日本語テキスト: こんにちは、世界!</p>
<p>Emoji: 🚀✨🌍🎉</p>

</body>
</html>