Gathering detailed insights and metrics for hexo-tag-wgdemo
Gathering detailed insights and metrics for hexo-tag-wgdemo
Gathering detailed insights and metrics for hexo-tag-wgdemo
Gathering detailed insights and metrics for hexo-tag-wgdemo
npm install hexo-tag-wgdemo
Typescript
Module System
Node Version
NPM Version
50.5
Supply Chain
91.7
Quality
75.4
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
420
Last Day
1
Last Week
1
Last Month
2
Last Year
61
13 Stars
358 Commits
2 Forks
1 Watching
4 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
0.18.0
Package Id
hexo-tag-wgdemo@0.18.0
Unpacked Size
5.75 kB
Size
2.72 kB
File Count
5
NPM Version
6.14.15
Node Version
14.17.6
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
0%
2
Compared to previous month
Last year
-40.2%
61
Compared to previous year
glorious-demo tag plugin for Hexo (Based on version 0.11.12
)
This is a Hexo tag plugin which allow you to glorious-demo on your blog posts.
1npm install @heowc/hexo-tag-gdemo
※ Deprecated npm install hexo-tag-gdemo
1{% gdemo_terminal command [minHeight] [windowTitle] [onCompleteDelay] [promptString] [id] [highlightingLang] %} 2content 3{% endgdemo_terminal %}
or
1{% gdemo_editor [minHeight] [windowTitle] [onCompleteDelay] [id] [highlightingLang] %} 2content 3{% endgdemo_editor %}
command represents one or more commands separated by ';'. Be ware that the commands can not contain ' as hexo would assume that the argument is finished and the next will follow what will lead to the object not beeing rendered.
minHeight defines the minimal hight of the editor/terminal window. Beware that it can grow depending on the content you provide.
windowTitle will be displayed as title of the editor/terminal window. Use whatever you like.
onCompleteDelay defines the wait delay, after a line of commands/code was typed. This does not affect the content in gdemo_terminal. Content will instantly appear after all commands are typed.
The promptString defines, which character or character sequence will be displayed in front of the typed commands. You can use '>' or 'root@local:/$ ' or anything else you like to display.
The id parameter sets a unique id for the instance of editor/terminal. The IDs have to be different for multiple instances inside of the same post.
highlightingLang defines the designated highlighting language. If not specified, javascript will be used. You can find a list of supported languages at the prismjs homepage.
_config.yml
If you do not want to use the CDN, fill in the following:
1gdemo: 2 style_url: 3 script_url: 4 prismjs_theme:
Please read here if you can not display gdemo well.
gdemo_terminal
1{% gdemo_terminal 'node ./demo' '250px' 'bash' '500' '$' 'demo-teriminal' %} 2Hello World! 3{% endgdemo_terminal %}
gdemo_terminal
[multiple commands];
.1{% gdemo_terminal 'cd /usr/bin;./node ./demo' '250px' 'bash' '500' '$' 'demo-teriminal' %} 2Hello World! 3{% endgdemo_terminal %}
gdemo_editor
1{% gdemo_editor '250px' 'bash' '500' 'demo-editor' %} 2function greet(){ 3 console.log("Hello World!"); 4} 5 6greet(); 7{% endgdemo_editor %}
See more here.
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
3 existing vulnerabilities detected
Details
Reason
7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More