From 44e9d2b79f307d9b741a606d5acd2fe6166efa5f Mon Sep 17 00:00:00 2001 From: Philipp A Date: Sun, 1 Nov 2020 16:46:16 +0100 Subject: Implement literal blocks (#28) --- renderer/src/html/tests.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'renderer/src/html/tests.rs') diff --git a/renderer/src/html/tests.rs b/renderer/src/html/tests.rs index 6387238..a4ec633 100644 --- a/renderer/src/html/tests.rs +++ b/renderer/src/html/tests.rs @@ -100,8 +100,13 @@ hello ``foo.map(|world| world + 42)`` .. code:: foo.map(|world| world + 42) + +:: + + hay! |x| ", "

hello foo.map(|world| world + 42)

-
foo.map(|world| world + 42)\n
"); +
foo.map(|world| world + 42)\n
+
hay! |x|\n
"); } /* @@ -305,11 +310,11 @@ fn code() { # comment ", "\ -
def foo():
+
def foo():
     print('Hi!')
 
     # comment
-
\ +
\ "); } -- cgit v1.2.3