Git Product home page Git Product logo

hexo-butterfly-copymarkdown's Introduction

hexo-butterfly-copyMarkdown

A Hexo plugin that allows direct copying of markdown from a web page, primarily developed for the butterfly theme, but the basic copy functionality is universally.

How to install

npm i hexo-butterfly-copymarkdown --save

Config

Add configuration in hexo's _config.yml file.

An Example:

copyMarkdown:
    enable: true
    pureMarkdown: false #使用true以禁用外挂转换 默认为 false
    keyboard: true #cv悬浮组件
    field: post # default: 每个页面   post: 仅文章页面(默认值)
    copyright: true # 是否添加版权信息 默认开启
    Reprint: true # 是否开启一键转载 默认开启
copyMarkdown:
    enable: true
    pureMarkdown: false # Set to true to disable extraneous conversion, default is false
    keyboard: true # CV floating component
    field: post # default: every page post: only article pages (default)
    copyright: true # whether to add copyright information, default is enabled
    Reprint: true # whether to enable one-click reprint, default is enabled

preview

Hexo插件 | 直接复制markdown

Except for mermaid, all tag plugins have been adapted by the plugin.

License

hexo-butterfly-copyMarkdown is Copyright © 2023 Charles Hsu and released under the MIT license.

The project uses turndown.js, turndown is copyright © 2017+ Dom Christie and released under the MIT license.

hexo-butterfly-copymarkdown's People

Contributors

krahsu avatar

Stargazers

CC康纳百川 avatar

Watchers

 avatar

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.