Socket
Socket
Sign inDemoInstall

@yemu419/vuepress-plugin-interactive-js

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @yemu419/vuepress-plugin-interactive-js

interactive js plugin for vuepress


Version published
Maintainers
1
Install size
1.98 MB
Created

Readme

Source

vuepress-plugin-interactive-js

使用此插件,您可以通过以下语法同时显示代码和 console.log 结果。

::: javascript

```js
var a = { n: 1 };
var b = a;
a.x = a = { n: 2 };

// 请写出以下输出结果
console.log(a.x);
console.log(b);
```

:::

点击查看 Demo

Install

yarn add @yemu419/vuepress-plugin-interactive-js -D

Usage

Write vuepress config

module.exports = {
    plugins: ['@yemu419/interactive-js'],
}

FAQs

Last updated on 24 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc