Giter Club home page Giter Club logo

Comments (5)

shiningshell avatar shiningshell commented on September 18, 2024 1

@aote777
您好,感谢您的及时回复,我把这段代码进行各种复制,包括以纯文本格式复制,所展现的结果如下:
image
image
image
image

我把github上的复制到datagrip(idea一个公司开发的,写sql的软件)确实有这个nbsp字符,
image
但是我试过复制到notepad++,微信和typora,在各自的软件上都不显示nbsp,但是一导入到anki就显示nbsp。
我猜测原因是,这段代码本来就存在nbsp,nbsp复制过来自动转换为纯文本,所以以纯文本格式复制不影响,而这几个软件都默认不显示nbsp, 就像datagrip有个设置项关掉就不显示nbsp,但是其实是有的,datagrip的nbsp显示切换开关是这个:
image

目前的解决方法是复制到datagrip,再replace把nbsp替换成空格。

from anki-md-template.

shiningshell avatar shiningshell commented on September 18, 2024 1

谢谢老哥

from anki-md-template.

aote777 avatar aote777 commented on September 18, 2024

试了一下 , 可以正常转义空格的
我也是直接点的复制
可以试试 去除格式的复制吧 , 我复制你GitHub里的 没有nbsp
图片

from anki-md-template.

aote777 avatar aote777 commented on September 18, 2024

或者复制到微信文件助手发出去 在复制进anki, 可能是原格式有点问题

from anki-md-template.

aote777 avatar aote777 commented on September 18, 2024

嗯嗯 正常代码里不应该有nbsp实体的, 可以看看你复制的那个地方有没有能改的设置

from anki-md-template.

Related Issues (8)

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.