Gathering detailed insights and metrics for hexo-tag-gdemo
Gathering detailed insights and metrics for hexo-tag-gdemo
Gathering detailed insights and metrics for hexo-tag-gdemo
Gathering detailed insights and metrics for hexo-tag-gdemo
npm install hexo-tag-gdemo
Typescript
Module System
Node Version
NPM Version
53.6
Supply Chain
97.4
Quality
75.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
8,867
Last Day
1
Last Week
7
Last Month
14
Last Year
183
13 Stars
358 Commits
2 Forks
1 Watching
4 Branches
2 Contributors
Latest Version
0.11.1
Package Id
hexo-tag-gdemo@0.11.1
Unpacked Size
24.20 kB
Size
6.18 kB
File Count
14
NPM Version
6.12.0
Node Version
10.16.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
75%
7
Compared to previous week
Last month
600%
14
Compared to previous month
Last year
-37.1%
183
Compared to previous year
2
glorious-demo tag plugin for Hexo (Based on version 0.8.1
)
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 dangerous workflow patterns detected
Reason
no binaries found in the repo
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-16
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