From 56b13a8c2dd9feb1a8d36db8f43fbd40b45e53eb Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 17 Jan 2013 09:29:56 -0600 Subject: [PATCH] Add smart-lists to readme. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 34496342..79a9e402 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,9 @@ marked has a few different switches which change behavior. - __tables__: Enable GFM tables. This is enabled by default. (Requires the `gfm` option in order to be enabled). - __breaks__: Enable GFM line breaks. Disabled by default. +- __smartLists__: Use smarter list behavior than the original markdown. + Disabled by default. May eventually be default with the old behavior + moved into `pedantic`. ## Usage @@ -83,6 +86,7 @@ marked.setOptions({ breaks: false, pedantic: false, sanitize: true, + smartLists: true, highlight: function(code, lang) { if (lang === 'js') { return highlighter.javascript(code);