Skip to content

Commit 7573efe

Browse files
committed
Increased package version and updated changelog and Readme.md to reflect latest update.
1 parent d9db439 commit 7573efe

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,26 @@ In Markdown just use the alert according to the types provided by default.
165165

166166
![Custom alert type 'comment'](https://user-images.githubusercontent.com/44210522/50722960-6f21a600-10d7-11e9-87e7-d40d87045afe.png)
167167

168+
Instead of configuring this plugin using key `flexible-alerts` you can use camel case notation `flexibleAlerts` as well.
169+
170+
```javascript
171+
<script>
172+
window.$docsify = {
173+
'flexibleAlerts': {
174+
style: 'flat'
175+
}
176+
};
177+
</script>
178+
```
179+
168180
## Troubleshooting
169181

170182
If alerts do no look as expected, check if your `index.html` as well as alerts in Markdown are valid according to this documentation.
171183

172184
## Changelog
173185

186+
04/14/2019 - Added camel case support for plugin configuration key.
187+
174188
03/03/2019 - Fixed issue concerning languages using characters others than [a-z,A-Z,0-9] like Chinese or Russian.
175189

176190
01/19/2019 - Fixed issue when using plugin along with themeable plugin.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docsify-plugin-flexible-alerts",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "docsify plugin to convert blockquotes into beautiful and configurable alerts using preconfigured or own styles and alert types.",
55
"keywords": [
66
"docsify",

0 commit comments

Comments
 (0)