leetcode-cli 0.1.7

Leet your code in command-line.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use scraper::Html;

fn main() {
    let html = r#"
    <!DOCTYPE html>
    <meta charset="utf-8">
    <title>Hello, world!</title>
    <h1 class="foo">Hello, <i>world!</i></h1>
"#;

    let fragment = Html::parse_fragment("<h1>Hello, <i>world!</i></h1>");

    println!("{:#?}", fragment);
}