1.0.39 • Published 1 year ago

vuepress-plugin-shiki-twoslash v1.0.39

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

VuePress Shiki Twoslash

Sets up markdown code blocks to run through shiki which means it gets the VS Code quality syntax highlighting mixed with the twoslash JavaScript tooling from the TypeScript website.

Setup

  1. Install the dependency: yarn add vuepress-plugin-shiki-twoslash
  2. Include "vuepress-plugin-shiki-twoslash" in the plugins section of ./vuepress/config.ts

    + import vuepressShikiTwoslash from "vuepress-plugin-shiki-twoslash"
    
    export default defineUserConfig<DefaultThemeOptions>({
      lang: 'en-US',
      title: 'Hello VuePress',
      description: 'Just playing around',
    
      themeConfig: {
        logo: 'https://vuejs.org/images/logo.png',
      },
    + plugins: [
    +   [vuepressShikiTwoslash, { theme: "nord" }]
    + ]
    })
  3. Go read npmjs.com/package/remark-shiki-twoslash to see what is available, this module leaves all the heavy work to that module.

1.0.39

1 year ago

1.0.38

1 year ago

1.0.37

1 year ago

1.0.36

2 years ago

1.0.35

2 years ago

1.0.34

2 years ago

1.0.33

2 years ago

1.0.32

2 years ago

1.0.31

3 years ago

1.0.30

3 years ago

1.0.29

3 years ago

1.0.28

3 years ago

1.0.27

3 years ago

1.0.26

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago