Add passing tests, refactor to introduce forEachLine.

This commit is contained in:
David Anson 2015-03-09 00:31:07 -07:00
parent 9bedd25234
commit b21548a992
10 changed files with 72 additions and 38 deletions

View file

@ -0,0 +1,21 @@
This is a GFM-style fenced code block:
``` bash
#!/bin/bash
# Print something to stdout:
echo "Hello"
echo "World"
```
This is a kramdown-style fenced code block:
~~~ bash
#!/bin/bash
# Print something to stdout:
echo "Hello"
echo "World"
~~~
None of the above should trigger any heading related rules.