Fix indented fenced blocks and test file

This commit is contained in:
Ted Blackman 2017-08-22 14:58:44 -07:00
parent 28acd75a9a
commit 8c7dc9706f
2 changed files with 13 additions and 13 deletions

View File

@ -762,13 +762,14 @@
++ fenced-code
|= col/@u ~+
=/ ind (stun [(dec col) (dec col)] ace)
%+ ifix [tecs tecs]
=/ ind-tecs ;~(plug ind tecs)
%+ ifix [ind-tecs ind-tecs]
%- star
;~ less tecs
;~ pose
(ifix [ind (just '\0a')] (star prn))
(cold "" ;~(plug (star ace) (just '\0a')))
==
;~ pose
%+ ifix [ind (just '\0a')]
;~(less tecs (star prn))
::
(cold "" ;~(plug (star ace) (just '\0a')))
==
::
++ para :: paragraph

View File

@ -41,13 +41,12 @@ We sometimes speak in %hoon We also say 0xdead.beef things like ~ and #`@`2.
We don't care if we sound funny, and sometimes we !@#$%%#^? cuss.
```
We also sometimes put
in
code
looks
We also sometimes put
in
code
looks
like
this.
TODO(ted): support blank lines in quoted code
like
this.
```