Browse Source

Demo defaults update

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
9ddf69ed1d
  1. 10
      demo/assets/index.js
  2. 1
      demo/index.html
  3. 1
      demo/sample.md

10
demo/assets/index.js

@ -4,15 +4,15 @@
var mdHtml, mdSrc, permalink; var mdHtml, mdSrc, permalink;
var defaults = { var defaults = {
html: true, // Enable html tags in source html: false, // Enable html tags in source
xhtmlOut: true, // Use '/' to close single tags (<br />) xhtmlOut: false, // Use '/' to close single tags (<br />)
breaks: false, // Convert '\n' in paragraphs into <br> breaks: false, // Convert '\n' in paragraphs into <br>
langPrefix: 'language-', // CSS language prefix for fenced blocks langPrefix: 'language-', // CSS language prefix for fenced blocks
linkify: false, // autoconvert url-like texts to links linkify: true, // autoconvert url-like texts to links
typographer: false, // Enable smartypants and other sweet transforms typographer: true, // Enable smartypants and other sweet transforms
// options below are for demo only // options below are for demo only
_highlight: false, _highlight: true,
_strict: false, _strict: false,
_src: false _src: false
}; };

1
demo/index.html

@ -86,6 +86,7 @@ __Advertisement :)__
resize in browser. resize in browser.
- __[babelfish](https://github.com/nodeca/babelfish/)__ - developpers friendly - __[babelfish](https://github.com/nodeca/babelfish/)__ - developpers friendly
i18n with plurals support and easy syntax. i18n with plurals support and easy syntax.
You will like those projects! You will like those projects!
--- ---

1
demo/sample.md

@ -5,6 +5,7 @@ __Advertisement :)__
resize in browser. resize in browser.
- __[babelfish](https://github.com/nodeca/babelfish/)__ - developpers friendly - __[babelfish](https://github.com/nodeca/babelfish/)__ - developpers friendly
i18n with plurals support and easy syntax. i18n with plurals support and easy syntax.
You will like those projects! You will like those projects!
--- ---

Loading…
Cancel
Save