本文最后更新于天前,内容可能已不再适用!

GitHub starsGitHub language countGitHub top languageGitHub repo sizeGitHub code size in bytesnpm bundle sizenpmGitHub issuesGitHub commit activityGitHub last commitnpmNPM

用于在 Hexo 博客中嵌入 steam 游戏。

安装

npm install hexo-tag-steamgame --save

使用方法

  • 嵌入单个游戏
{% steamgame appid description %}
```

* 批量嵌入游戏

```Nunjucks
{% steamgames %}
appid
appid
appid
appid
appid
appid
{% endsteamgames %}

参数

appid: Steam 游戏 id.
description(可选): 用于替换默认游戏简介。

Demo

{% steamgame 1057090 %}
```

{% steamgame 1057090 %}

```Nunjucks
{% steamgame 1057090 "I like it." %}
```

{% steamgame 1057090 "I like it." %}

```Nunjucks
{% steamgames %}
261570
1057090
{% endsteamgames %}

License

MIT

最后修改:2020-10-28 21:00:58
如果觉得我的文章对你有用,请随意赞赏