@allenbrowntech/lemon-lui

2.0.0 • Public • Published

lui (lemon ui kit)

Beautiful, Minimal UI Kit for lemon

Installation

npm install @allenbrowntech/lemon-lui

Usage

sui = require '@allenbrowntech/lemon-lui'

html = sui.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

©2017 AllenBrownTech 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @allenbrowntech/lemon-lui

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

58.3 MB

Total Files

57

Last publish

Collaborators

  • allenbrown
  • xiaonai239