Browse Source

docs update

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
b00858f795
  1. 3
      CHANGELOG.md
  2. 1
      README.md
  3. 3
      lib/configs/commonmark.js
  4. 9
      lib/configs/default.js

3
CHANGELOG.md

@ -3,9 +3,10 @@
- Added `core` chain, to better organize code and improve pluggability.
- Added `renderInline()` and `parseInline()` methods.
- Added abbreviations support.
- Fixed problem with tables, having single column.
- Changed internal api, related to Ruler use.
- Removed typographer chain (rules moved to `core`)
- Removed typographer chain (rules moved to `core`).
- Removed all typographer options. Quote chars defs moved to `options.quotes`.

1
README.md

@ -170,6 +170,7 @@ Disabled by default:
- [\<sup>](http://johnmacfarlane.net/pandoc/README.html#superscripts-and-subscripts) - `19^th^`
- [\<sub>](http://johnmacfarlane.net/pandoc/README.html#superscripts-and-subscripts) - `H~2~0`
- [abbreviations](https://michelf.ca/projects/php-markdown/extra/#abbr)
- __\<ins>__ - `++inserted text++` (experimental)
- __\<mark>__ - `==marked text==` (experimental)

3
lib/configs/commonmark.js

@ -34,7 +34,8 @@ module.exports = {
rules: [
'block',
'inline',
'references'
'references',
'abbr2'
]
},

9
lib/configs/default.js

@ -30,7 +30,14 @@ module.exports = {
components: {
core: {},
core: {
rules: [
'block',
'inline',
'references',
'abbr2'
]
},
block: {
rules: [

Loading…
Cancel
Save