extern crate micromark; use micromark::micromark; #[test] fn text() { assert_eq!( micromark("hello $.;'there"), "

hello $.;'there

", "should support ascii text" ); assert_eq!( micromark("Foo χρῆν"), "

Foo χρῆν

", "should support unicode text" ); assert_eq!( micromark("Multiple spaces"), "

Multiple spaces

", "should preserve internal spaces verbatim" ); }