|
| 1 | +<a name="1.6.0"></a> |
| 2 | +# [1.6.0](https://github.com/showdownjs/showdown/compare/1.5.5...v1.6.0) (2017-01-09) |
| 3 | + |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +* **ghCompatibleHeaderId:** improve the number of removed chars ([d499feb](https://github.com/showdownjs/showdown/commit/d499feb)) |
| 8 | +* **IE8:** fix for IE8 error on using isUndefined function ([561dc5f](https://github.com/showdownjs/showdown/commit/561dc5f)), closes [#280](https://github.com/showdownjs/showdown/issues/280) |
| 9 | +* **options:** fix ghCompatibleHeaderId that was set as string instead of boolean ([de7c37e](https://github.com/showdownjs/showdown/commit/de7c37e)) |
| 10 | +* **simpleLineBreaks:** fix simpleLineBreaks option not working with non-ASCII chars and markdown delimiters ([b1c458a](https://github.com/showdownjs/showdown/commit/b1c458a)), closes [#318](https://github.com/showdownjs/showdown/issues/318) [#323](https://github.com/showdownjs/showdown/issues/323) |
| 11 | + |
| 12 | +### Features |
| 13 | + |
| 14 | +* **CLI:** add -q (quiet) and -m (mute) mode to CLI ([f3b86f0](https://github.com/showdownjs/showdown/commit/f3b86f0)) |
| 15 | +* **CLI:flavor:** add flavor option to CLI ([2d6cd1e](https://github.com/showdownjs/showdown/commit/2d6cd1e)) |
| 16 | +* **getFlavor:** add getFlavor method to showdown and Converter ([0eaf105](https://github.com/showdownjs/showdown/commit/0eaf105)) |
| 17 | +* **ghMentions:** add support for github's @mentions ([f2671c0](https://github.com/showdownjs/showdown/commit/f2671c0)), closes [#51](https://github.com/showdownjs/showdown/issues/51) |
| 18 | + |
| 19 | +### BREAKING CHANGES: |
| 20 | + |
| 21 | +* CLI tool now uses the same option defaults as showdown main library. This mean |
| 22 | + the default flavor is vanilla and ghCodeBlocks options is enabled by default. |
| 23 | + |
| 24 | + To update, add `--ghCodeBlocks="false"` to the command. |
| 25 | + |
| 26 | + |
1 | 27 | <a name="1.5.5"></a>
|
2 | 28 | ## [1.5.5](https://github.com/showdownjs/showdown/compare/1.5.4...1.5.5) (2016-12-30)
|
3 | 29 |
|
|
72 | 98 |
|
73 | 99 | ### BREAKING CHANGES
|
74 | 100 |
|
75 |
| -* syntax for sublists is now more restrictive. Before, sublists SHOULD be |
76 |
| -indented by 4 spaces, but indenting at least 2 spaces would work. |
77 |
| -Now, sublists MUST be indented 4 spaces or they won't work. |
78 |
| - |
79 |
| -With this input: |
80 |
| -```md |
81 |
| -* one |
82 |
| - * two |
83 |
| - * three |
84 |
| -``` |
85 |
| - |
86 |
| -Before (ouput): |
87 |
| -```html |
88 |
| -<ul> |
89 |
| - <li>one |
| 101 | +* syntax for sublists is now more restrictive. Before, sublists SHOULD be indented by 4 spaces, but indenting at least 2 spaces would work. |
| 102 | + Now, sublists MUST be indented 4 spaces or they won't work. |
| 103 | + |
| 104 | + With this input: |
| 105 | + ```md |
| 106 | + * one |
| 107 | + * two |
| 108 | + * three |
| 109 | + ``` |
| 110 | + |
| 111 | + Before (ouput): |
| 112 | + ```html |
90 | 113 | <ul>
|
| 114 | + <li>one |
| 115 | + <ul> |
| 116 | + <li>two |
| 117 | + <ul><li>three</li></ul> |
| 118 | + <li> |
| 119 | + </ul> |
| 120 | + </li> |
| 121 | + <ul> |
| 122 | + ``` |
| 123 | + |
| 124 | + After (output): |
| 125 | + ```html |
| 126 | + <ul> |
| 127 | + <li>one</li> |
91 | 128 | <li>two
|
92 | 129 | <ul><li>three</li></ul>
|
93 |
| - <li> |
| 130 | + </li> |
94 | 131 | </ul>
|
95 |
| - </li> |
96 |
| -<ul> |
97 |
| -``` |
98 |
| - |
99 |
| -After (output): |
100 |
| -```html |
101 |
| -<ul> |
102 |
| - <li>one</li> |
103 |
| - <li>two |
104 |
| - <ul><li>three</li></ul> |
105 |
| - </li> |
106 |
| -</ul> |
107 |
| -``` |
108 |
| - |
109 |
| -To migrate either fix source md files or activate the option `disableForced4SpacesIndentedSublists`: |
110 |
| -```md |
111 |
| -showdown.setOption('disableForced4SpacesIndentedSublists', true); |
112 |
| -``` |
| 132 | + ``` |
| 133 | + |
| 134 | + To migrate either fix source md files or activate the option `disableForced4SpacesIndentedSublists`: |
| 135 | + ```md |
| 136 | + showdown.setOption('disableForced4SpacesIndentedSublists', true); |
| 137 | + ``` |
113 | 138 |
|
114 | 139 |
|
115 | 140 | <a name="1.4.4"></a>
|
|
0 commit comments