Giter Site home page Giter Site logo

drool's Introduction

drool

Since it is said that the source of a markdown is as readable as visual documents, why do we compile *something* to something? Based on this consideration, I designed drool. You cannot make something bold or italic with it (because sources like *something* is readable enough), which is why drool is different from markdown. You can retract (the restract of drool can be used as table) and align right something to express the structure of a document and can still insert media elements and links. Compared with markdown, drool is minimal without signals like [ or !. Drool will not make a literary article look like programming codes.

For details, please visit a demo which requires your browser supporting async function, WebP, WebM, fetch API, CSS variable, sticky position, and full of ECMAScript 6. I recommend you use Chromium or Chrome Canary with the proper flags on. I am sorry that I used a few unstable features. If you are unable to open the demo, please refer to the screenshot.

There is a UTF-8 BOM in the head of every text file and I use \r\n to break lines.

————————

既然markdown自称源码的可读性堪比可视化编辑,为什么我们还要把*something*编译成something?于是,我设计了drool。它没有加粗、斜体之类的功能(*something*的可读性就很好了,不是吗?),但可用缩进(drool的缩进可用作表格)和右对齐表达文档结构,图片(音视频)、链接仍可插入。相比markdown,drool是极简的,不使用[!之类的标识。drool不会像markdown那样让一篇文学文章看上去布满代码。drool是中文友好的,中文标点不会使用英文字体。

详见demo。你的浏览器得支持async function、WebP、WebM、fetch API、CSS变量、sticky position和完整的ECMAScript 6,我推荐使用开启了恰当实验选项的Chromium或Chrome Canary。抱歉使用了一些草案级别的特性,如果你打不开demo,请参考英语版demo的截图

因为使用了Windows和微软的编辑器,本仓库的每个文本文件头都有UTF-8的BOM,使用\r\n换行。

License

MIT

drool's People

Contributors

dou4cc avatar

Watchers

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