Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-tag-chart

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-tag-chart - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

index.js

@@ -15,3 +15,3 @@ const fs = require('fs'),

option: options,
width: args[0] || 400,
width: args[0] || '100%',
height: args[1] || 300

@@ -18,0 +18,0 @@ });

{
"name": "hexo-tag-chart",
"version": "1.0.3",
"version": "1.0.4",
"description": "A simple plugin for inserting Chartjs by using tags in Hexo.",

@@ -5,0 +5,0 @@ "main": "index.js",

# hexo-tag-chart
![npm](https://img.shields.io/npm/v/hexo-tag-chart)
![npm](https://img.shields.io/npm/dt/hexo-tag-chart)

@@ -21,6 +22,11 @@ Insert [Chartjs](https://www.chartjs.org/) in Hexo site by using tags.

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| width | decimal | 100% | The width of chart, responsive in window. |
| height | number | 300 | The height of chart (px). |
## Example
```
{% chart 400 300 %}
{% chart 80% 300 %}
{

@@ -27,0 +33,0 @@ type: 'line',

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc