Remove ``` support from code fence

Supporting ``` as a code fence marker complicates the auto-fence
closing, and as per a discussion with Keegan on code-review@, it
is not worth the extra complexity.

(imported from commit 405afb95c4295a02f4677181456caf9d49913ac4)
This commit is contained in:
Leo Franchi
2013-01-25 17:02:35 -05:00
parent 187e8cfa88
commit ba7dcc320c
2 changed files with 5 additions and 26 deletions

View File

@@ -1131,7 +1131,7 @@ speak</span><span class="p">(</span><span class="bp">self</span><span class="p">
def test_codeblock_multiline(self):
fenced_code = \
"""Hamlet once said
````
~~~~
def func():
x = 1
@@ -1139,7 +1139,7 @@ def func():
y = 2
z = 3
````
~~~~
And all was good."""
expected_convert = \