Skip to content

Commit

Permalink
add rendering plain html to FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 17, 2012
1 parent f92ebaa commit 64ac3e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions en/faq.jade
Expand Up @@ -106,6 +106,15 @@ setup
p.
View <a href="/guide.html#error-handling">error-handling</a> for more information.

setup
h3(id='render-html') How do I render plain HTML?

p.
You don't! There's no need to "render" HTML with <code>res.render()</code>,
if you have a specific file you should use <code>res.sendfile()</code>, or
if you are serving many assets from a directory use the <code>express.static()</code>
middleware.

setup
h3(id='size') How big is the Express codebase?

Expand Down

0 comments on commit 64ac3e7

Please sign in to comment.