@mandarinlabs/lemon-ui
Beautiful, Minimal UI Kit for lemon
Last updated 2 years ago by xiaonai239 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mandarinlabs/lemon-ui 
SYNC missed versions from official npm registry.

MandarinLabs / lemon standard ui kit

Beautiful, Minimal UI Kit for lemon

Installation

npm install @mandarinlabs/lemon
npm install @mandarinlabs/lemon-ui

Usage

lui = require '@mandarinlabs/lemon-ui'

html = lui.render ( ->
  doctype 5
  html ->
    head ->
      title 'Welcome to Lemon LUI'
  body ->
    lui.Markdown """

      # Header 1

      ## Header 2

      ### Header 3

      paragraph 1

      [http://mydomain.com/img/example.jpg]
      ^ caption for the image

      > this is a quote

      this is a list
       - item 1
       - item 2
       - item 3

      this is an ordered list
       1. item 1
       2. item 2
       3. item 3

      ```
      this is a block of code
      ```

      this is a line with `inine code`

      this is a line with **bold text**

      this is a line with //italics text//

      this is a line with __underlined text__

      [https://www.youtube.com/watch?v=0IzCeUMWBr0]
      ^ this is a youtube embed

    """
         
)

License

©2018 MandarinLabs under the MIT license:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Current Tags

  • 2.0.1                                ...           latest (2 years ago)

2 Versions

  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (9)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |