示例#1
0
        public void Handle_HandleTheScreening()
        {
            var h = new EmHandler();

            h.Handle(@"fr \_ddd\_ _dd_")
            .ShouldBeEquivalentTo("fr _ddd_ <em>dd</em>");
        }
示例#2
0
        public void Handle_ReplaceSimpleTag()
        {
            var handler  = new EmHandler();
            var markdown = "_abs_";
            var html     = "<em>abs</em>";

            handler.Handle(markdown)
            .ShouldBeEquivalentTo(html);
        }