Coder Social home page Coder Social logo

Comments (8)

jerryc127 avatar jerryc127 commented on August 22, 2024

我试了你的网站 复制到 window powershell 没有这个问题

from hexo-theme-butterfly.

Firestar-Reimu avatar Firestar-Reimu commented on August 22, 2024

所以这是个bash/剪贴板问题?

但是我去github/用sphinx写的网站,点那个复制图标复制就没有问题啊

from hexo-theme-butterfly.

jerryc127 avatar jerryc127 commented on August 22, 2024

我的那段複製代碼是獲取了你代碼塊的内容,你代碼塊要是有換行符,那複製的内容就有

或者你複製到其他地方,比如 vscode ,記事本 啥的,看看是不是有換行符

我在windows10 測試,沒這個問題

from hexo-theme-butterfly.

Firestar-Reimu avatar Firestar-Reimu commented on August 22, 2024

我的源代码(markdown)是这个

https://github.com/Firestar-Reimu/Blog-source/blob/main/source/_posts/ArchLinux-Installation.md

我在github上直接复制代码块到Linux没有问题

我在我的网站上复制代码块到Windows也没问题

但是我在网站上复制代码块到Linux就有问题

from hexo-theme-butterfly.

jerryc127 avatar jerryc127 commented on August 22, 2024

linux 上有沒有其他的 terminal ?
複製到其它 terminal 看看是不是一樣的情況

from hexo-theme-butterfly.

Firestar-Reimu avatar Firestar-Reimu commented on August 22, 2024

我没装其它terminal,但是我试了其它网站发现不只是butterfly主题,其它hexo主题都有问题

我试着安装了zsh发现有一样的情况

和这个不知道有没有关系 https://stackoverflow.com/questions/66274933/removing-whitespace-in-html-when-using-a-copy-button


操作系统: Arch Linux
KDE Plasma 版本: 6.0.3
KDE 程序框架版本: 6.0.0
Qt 版本: 6.6.3
内核版本: 6.8.2-arch2-1 (64 位)
图形平台: Wayland
处理器: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
内存: 15.3 GiB 内存
图形处理器: Mesa Intel® Xe Graphics
制造商: LENOVO
产品名称: 20WKA000CD
系统版本: ThinkPad X13 Gen 2i

from hexo-theme-butterfly.

jerryc127 avatar jerryc127 commented on August 22, 2024

如果有問題 應該所有平臺都一樣
你要不試下其它的 terminal?
如果正常,就代表你現在使用的這個有問題,看看 terminal 的配置啥的

from hexo-theme-butterfly.

github-actions avatar github-actions commented on August 22, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from hexo-theme-butterfly.

Related Issues (20)

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.