Skip to content

Commit b6513fa

Browse files
committed
release 1.6.0
1 parent f3b86f0 commit b6513fa

File tree

5 files changed

+109
-39
lines changed

5 files changed

+109
-39
lines changed

CHANGELOG.md

+59-34
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
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+
127
<a name="1.5.5"></a>
228
## [1.5.5](https://github.com/showdownjs/showdown/compare/1.5.4...1.5.5) (2016-12-30)
329

@@ -72,44 +98,43 @@
7298

7399
### BREAKING CHANGES
74100

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
90113
<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>
91128
<li>two
92129
<ul><li>three</li></ul>
93-
<li>
130+
</li>
94131
</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+
```
113138

114139

115140
<a name="1.4.4"></a>

0 commit comments

Comments
 (0)