flying-sheep / rust-rst

a reStructuredText parser and renderer
https://crates.io/crates/rst
Apache License 2.0
100 stars 10 forks source link

Add support for parsing comments #23

Closed nitnelave closed 4 years ago

nitnelave commented 4 years ago

I pulled the examples from the RST specification.

A couple of notes: I'm choosing to ignore extra blank lines after a comment. Is the objective to have a parser that can give the exact same output as the input, or just semantically the same?

Also, what are the next steps to add support for comments in the parser?

flying-sheep commented 4 years ago

Hey thanks, sorry for taking this long!