Skip to content

Commit

Permalink
Update testing.moon
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Aug 17, 2016
1 parent ed1937b commit a919337
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions testing.moon
Expand Up @@ -34,11 +34,8 @@ class extends lapis.Application
p data
[markdown_test: "/markdown"]: =>
discount = require "discount"
result = discount([[
# This is a header
[and this is a link](https://guard13007.com) to my **homepage**.
]], "nohtml")
@html -> raw -> result
result = discount([[# This is a header\n\n[and this is a link](https://guard13007.com) to my **homepage**.\n]], "nohtml")
@html ->
raw ->
result
--return result, layout: false, content_type: "text/plain"

0 comments on commit a919337

Please sign in to comment.