Giter VIP home page Giter VIP logo

vuepress-plugin's Introduction

👋 Hi there, I'm Q.Ben. (or QB)

  • ***Script Developer
  • Team member of X-CMD
  • qbb.sh

☎️ Find Me

💭 My Dream

  • if [ -n 🤯 ]; then 🤯 >/dev/null; fi
  • while(😴){ 💰++; }     Sponsor | 爱发电

📦️ Projects

Personal Open Source Repo

Name Description
cz-git 🔩 A more engineered, lightweight, customizable, standard output format Commitizen Adapter
czg 📤 Interactive CLI that generate standardized commit messages
qb-coin 🪙 Terminal CLI that can watch your BSC coins price in the terminal. And manage your BSC coins list.
x-satori 🌠 use Vue file to generate Open Graph SVG or PNG by satori

The image can be generated by running ESM script or CLI.
vitesse-qb-vscode-theme 🏕 Color schemes change of fork Vitesse VSCode theme
vuepress-plugin-clipboard 🔘 A Vuepress v2 plugin to generate code copy button | code clipboard
vuepress-plugin-china-search-console 🌐 A Vuepress v2 plugin to enhance vuepress page search SEO For the China search console

As Contributors For Open Source Repo

Name Description
vuepress-theme-gungnir 🐱 A blog theme for VuePress 2.0

vuepress-plugin's People

Contributors

dependabot[bot] avatar zhengqbbb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vuepress-plugin's Issues

请教帖:想问一下 interface是怎么生成 table的

两个md是复制过去的吗?

export interface ClipboardOptions {
  /**
     * @description: Copy icon is only visible when hovering over code block or is always visible.
     * @description: 复制按钮是否设置为悬停时可见
     * @default: false
     */
  staticIcon: boolean

  /**
     * @description: This option describes the vertical position of the copy button component as well as the `successText`
     * @description: 设置复制按钮和成功提示的垂直位置
     * @default: "bottom"
     */
  align: 'top' | 'bottom'

  /**
     * @description: This is the CSS selector to which the copy button component will be attached.
     * @description: 目标代码块的CSS选择器
     * @default: 'div[class*="language-"]'
     */
  selector: string

  /**
     * @description: Page animation delay(ms). Affect the generation of buttons when rendering
     * @description: 页面动画的延迟毫秒, 这会影响到渲染时的按钮生成
     * @default: 400
     */
  delay: number

  /**
     * @description: This sets the color of the copy button and can take any hex code.
     * @description: 复制按钮的颜色, 可以使用任意的十六进制颜色代码
     * @default: "var(--c-brand)"
     */
  color: string

  /**
     * @description: Enables the background transition animation of the attached code block when a user presses the copy button.
     * @description: 点击复制按钮时是否启动过渡动画
     * @default: true
     */
  backgroundTransition: boolean

  /**
     * @description: This sets the color of the background transition animation and can take any hex code.
     * @description: 过渡动画背景颜色, 可以使用任意的十六进制颜色代码
     * @default: "var(--code-bg-color)"
     */
  backgroundTransitionColor: string

  /**
     * @description: This sets the text that displays when a user presses the copy button.
     * @description: 复制成功后的提示词
     * @default: "Copied!"
     */
  successText: string

  /**
     * @description: This sets the color of the text that displays when a user presses the copy button and can take any hex code.
     * @description: 设置提示词的颜色, 可以使用任意的十六进制颜色代码
     * @default: "var(--c-brand-light)"
     */
  successTextColor: string
}
<table style="font-size: 0.9rem;">
  <thead>
    <th>option</th>
    <th>type</th>
    <th>default</th>
    <th>info</th>
  </thead>
  <tr>
    <td>staticIcon</td>
    <td>boolean</td>
    <td>false</td>
    <td>Copy icon is only visible when hovering over code block or is always visible.<br><br>复制按钮是否设置为悬停时可见</td>
  </tr>
  <tr>
    <td>selector</td>
    <td>string</td>
    <td>'div[class*="language-"]'</td>
    <td>This is the CSS selector to which the copy button component will be attached.<br><br>目标代码块的CSS选择器</td>
  </tr>
  <tr>
    <td>delay</td>
    <td>number</td>
    <td>400</td>
    <td>Page animation delay(ms). Affect the generation of buttons when rendering<br><br>页面动画的延迟毫秒, 这会影响到渲染时的按钮生成</td>
  </tr>
  <tr>
    <td>color</td>
    <td>string</td>
    <td>"var(--c-brand)"</td>
    <td>This sets the color of the copy button and can take any hex code.<br><br>复制按钮的颜色, 可以使用任意的十六进制颜色代码</td>
  </tr>
  <tr>
    <td>backgroundTransition</td>
    <td>boolean</td>
    <td>true</td>
    <td>Enables the background transition animation of the attached code block when a user presses the copy button.<br><br>点击复制按钮时是否启动过渡动画</td>
  </tr>
  <tr>
    <td>backgroundTransitionColor</td>
    <td>string</td>
    <td>"var(--code-bg-color)"</td>
    <td>This sets the color of the background transition animation and can take any hex code.<br><br>过渡动画背景颜色, 可以使用任意的十六进制颜色代码</td>
  </tr>
  <tr>
    <td>successText</td>
    <td>string</td>
    <td>"Copied!"</td>
    <td>Setting the text that displays when a user presses the copy button. <br><br>复制成功后的提示词</td>
  </tr>
  <tr>
    <td>successTextColor</td>
    <td>string</td>
    <td>"var(--c-brand-light)"</td>
    <td>This sets the color of the text that displays when a user presses the copy button<br><br>设置提示词的颜色, 可以使用任意的十六进制颜色代码</td>
  </tr>
</table>

refactor: compatible with vuepress v2.0.0-beta.45

  • use pnpm manage monorepo
  • refactor(plugin-clipboard) (plugin-china-search-console) compatible with vuepress v2.0.0-beta.45
  • refactor(blog) vuepress config

Wait vuepress-theme-gungnir refactor done ~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.