diff --git a/README.md b/README.md index f2492108..4ac54f47 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ app.get('/say', (c) => { ### c.json() -Render text as `Content-Type:application/json`: +Render JSON as `Content-Type:application/json`: ```js app.get('/api', (c) => { @@ -255,6 +255,16 @@ app.get('/api', (c) => { }) ``` +### c.html() + +Render HTML as `Content-Type:text/html`: + +```js +app.get('/api', (c) => { + return c.html('

Hello! Hono!

') +}) +``` + ## fire `app.fire()` do: