hexo-tag-chart
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -15,4 +15,4 @@ const fs = require('fs'), | ||
option: options, | ||
height: args[0] || 400, | ||
width: args[1] || '80%' | ||
width: args[0] || 400, | ||
height: args[1] || 300 | ||
}); | ||
@@ -19,0 +19,0 @@ }; |
{ | ||
"name": "hexo-tag-chart", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A simple plugin for inserting Chartjs by using tags in Hexo.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,3 +16,3 @@ # hexo-tag-chart | ||
``` | ||
{% chart [height] [width] %} | ||
{% chart [width] [height] %} | ||
\\Chartjs options goes here | ||
@@ -25,3 +25,3 @@ {% endchart %} | ||
``` | ||
{% chart 400 '85%' %} | ||
{% chart 400 300 %} | ||
{ | ||
@@ -28,0 +28,0 @@ type: 'line', |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3555
7