From cfdcfc2b23696d84b9652daeb4f062824ebba1b5 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Wed, 13 Dec 2023 16:02:22 -0600 Subject: [PATCH] updated styles --- www/static/css/new_style.css | 1 + www/templates/pages/community.html | 2 +- www/templates/pages/homepage.html | 8 ++++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/www/static/css/new_style.css b/www/static/css/new_style.css index f4aa451..6e6ebb4 100644 --- a/www/static/css/new_style.css +++ b/www/static/css/new_style.css @@ -199,6 +199,7 @@ h1, h2, h3, h4, h5, h6 { code { font-size: 0.9em; font-family: fira, monospace; + font-variant-ligatures: none !important; } p code { diff --git a/www/templates/pages/community.html b/www/templates/pages/community.html index b1cafd7..f40235c 100644 --- a/www/templates/pages/community.html +++ b/www/templates/pages/community.html @@ -20,7 +20,7 @@ Onyx Community feature requests, and showing off your projects.

- Join Discord + Join Discord
diff --git a/www/templates/pages/homepage.html b/www/templates/pages/homepage.html index 2f7126f..4f58598 100644 --- a/www/templates/pages/homepage.html +++ b/www/templates/pages/homepage.html @@ -46,12 +46,16 @@

Language Features

+

+ For full language documentation and reference see the Onyx Book. +

+

Syntax


-

Onyx uses a modernized C-like syntax, similar to Jai or Odin. Start learning the syntax from official Language Reference Book.

+

Onyx uses a modernized C-like syntax, similar to Jai or Odin. Onyx is a procedural language, but does allow for functional-inspired syntax using the pipe operator.

use core { printf, iter }
@@ -177,7 +181,7 @@ main :: () {
     

-- 2.25.1