cogs_mirror/crates/parser/src/main.rs

13 lines
251 B
Rust
Raw Normal View History

use cogs_parser::parse_cog;
fn main() {
println!("{:#?}", parse_cog("
<body>
<h1>Yo.</h1>
<a src=\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\">Click this</a>
{
println!(\"test\");
<p>More Html</p>
}
</body>"));
}