From a18df9d9adc54bbc8ea1f3b1a1c59f316667e840 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Tue, 2 Jan 2018 00:37:33 +0000 Subject: md_tw.py: Add `TWBlockLexer.parse_fences`. * md_tw.py (TWBlockLexer.parse_fences): New method. * tests/data/blexer-fences.md: New file. * tests/test_md_tw.py (test_parse_fences): New test. --- tests/data/blexer-fences.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/data/blexer-fences.md (limited to 'tests/data') diff --git a/tests/data/blexer-fences.md b/tests/data/blexer-fences.md new file mode 100644 index 0000000..5cbb95c --- /dev/null +++ b/tests/data/blexer-fences.md @@ -0,0 +1,12 @@ +Let's have some chaos: + +```bash +$ echo 'Zap!' +$ rm -rf / +``` +> Some Jaromil art inside a block quote +> +> ```bash +> $ :(){:|:&};: +> ``` +> For more look at jaramil.dyne.org. He's awesome. -- cgit v1.2.3