Code Monkey home page Code Monkey logo

e's Introduction

易网页

中文的如何做爱超文本标记语言

随着国内前端程序员越来越多,学习英文的网页语言渐渐地成为了负担。为了顺应中文编程的需求,现在已经有不少成型的中文脚本语言,但中文的超文本标记语言还没有见到,这才有了「易网页」语言!

官方首页

http://front.dog/e

如何使用易网页?

易网页语言上手极其简单,引用 易网页.js 并执行 易网页.变身(document.body) 即完成了易网页的启动和转义!

  1. 使用【】符号包裹标签名。(备注一,备注二)
  2. 样式表中同样可以中文表达式书写。(备注三)
  3. 使用:符号赋值属性。
  4. 网页源代码里都是中文了你还要啥? (ᴑ̨̨̍̆͞͡ ͦ̆ ॑ᵓ̩̗̍
备注一: 避免了 在手写中文正文网页代码时不断切换输入法状态 来输入<>
备注二: 标题上 你可以使用「大标题」、「标题一」等多个意义相同的中文标签名,但要注意尽量避开【】这两个符号的使用,使用括号时推荐使用更加能体现中文波大茎深的以及 符号
备注三: 配合易网页指定样式表时,易网页会把中文标签改为标签相应的 ClassName 名,所以还是需要在表达式中使用类表达式。
有什么不懂的其实直接看下当前网页的源代码就好啦~

2015-08-31 增加一种更加中文的结束语法

  1. 原有的 【、标签】 结束语法
  2. 新增的 【标签。】 结束语法

增加两种「闭合任意标签」标示符

  1. 通过【、】【。】标示符,可「闭合前一个打开的标签」。

感谢 @Arthur2e5 的 Issues itorr#4

引用:

  1. Standard Generalized Markup Language - Wikipedia, the free encyclopedia
  2. SHORTTAGS – THE ODD SIDE OF HTML 4.01
  3. Appendix B: Performance, Implementation, and Design Notes

男同性恋集线器 交流平台地址

http://github.com/itorr/e

二维码

e's People

Contributors

itorr avatar artoria2e5 avatar

Watchers

James Cloos 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.