API Config

Mr.Hope ... Less than 1 minute

# baseLang

  • Type: string
  • Default: 'en-US'

The language of the home directory.

# selector

  • Type: string | string[]
  • Default: ['div[class*="language-"] pre','div[class*="aside-code"] aside']

Code block selector

# duration

  • Type: number
  • Default: 300

Prompt message display time

# showInMobile

  • Type: boolean
  • Default: false

Whether to display on the mobile side