beef331 / website

Code for the official Nim programming language website
https://nim-lang.org
19 stars 1 forks source link

Karkas #83

Closed moigagoo closed 12 months ago

moigagoo commented 1 year ago

Name: Karkas

Author: moigagoo

Posting:

Karkas is a library that makes creating web sites with Karax a bit more pleasant. It offers a bunch of styles to build layouts and some syntactic sugar to save you typing.

Karkas allows you to create complex layouts by combining basic primitives. It also offers a clean syntax for style combination, which lets you write clear code and be obvious about your intentions as a programmer.

For example, you can write something like this: tdiv(style = hStack() <- box(2) <- {border: "solid"}). Which means there's a vertical stack which is in turn a box of size 2 inside another container, with a solid border.

Find the official tutorial at https://karkas.nim.town.

Repo: https://github.com/moigagoo/karkas

pietroppeter commented 1 year ago

typo https://karkas.nom.town/ -> https://karkas.nim.town/

beef331 commented 1 year ago

Sorry @pietroppeter you did not hear‽ With 2.0 it's now Nom! :stuck_out_tongue:

pietroppeter commented 1 year ago

wait I get distracted for a moment and you changed the name of the language?! 😆

moigagoo commented 1 year ago

typo https://karkas.nom.town/ -> https://karkas.nim.town/

Oops, my bad :-)