Giter Club home page Giter Club logo

Comments (2)

liyishuai avatar liyishuai commented on May 18, 2024

为了更高效地讨论,试明确些许概念:

  • “文本”:指字、词、句、段、节、章、图、表等书面记录语言的形式,用引号表示,例如“X射线”;
  • “源代码”:参考Mozilla公共许可证协议2.0版定义1.13,为“可用于修改的代码”,包括.txt.md.html等文件,用代码块表示,例如<p>X&nbsp;射线</p>
  • “排版”:指用源代码生成图形以显示文本的过程,排版结果用图形表示。

空格是源代码概念,间距是排版概念。

from chinese-copywriting-guidelines.

hahastudio avatar hahastudio commented on May 18, 2024

我也同意标题里的观点。
特别在排版里,因为有 whitespace 和 non-breaking space 两种“空格”,whitespace 默认允许换行,而 non-breaking space 则默认不换行,所以实际使用中其实是要区分的。
例如:

我家的光纖入屋寬頻有 10 Gbps,SSD 一共有 20 TB。

放到 HTML 里面,我觉得更好的是:

我家的光纖入屋寬頻有 10&nbsp;Gbps,SSD 一共有 20&nbsp;TB。

from chinese-copywriting-guidelines.

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.