diff --git a/astro.config.mjs b/astro.config.mjs index 9cd8d00..181dddb 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -18,11 +18,13 @@ export default defineConfig({ markdown: { shikiConfig: { wrap: true, + gfm: true, + smartypants: true, langs: [{ name: 'yaksha', scopeName: 'source.yaksha', ...yakshaGrammar - }, "c", "bash", "scheme", "python"] + }, "c", "bash", "scheme", "python", "lisp"] } } }); \ No newline at end of file diff --git a/src/pages/blog/0002_another_site_update.mdx b/src/pages/blog/0002_another_site_update.mdx new file mode 100644 index 0000000..cdc3c13 --- /dev/null +++ b/src/pages/blog/0002_another_site_update.mdx @@ -0,0 +1,35 @@ +--- +title: Yet another site update +author: Bhathiya Perera +pubDate: 2023-12-22 +layout: '../../layouts/BlogPostLayout.astro' +--- + +import Note from '../../components/Note.astro'; + +# General update + +## Astro / Tailwindcss / DaisyUi + +Thanks to [GDWR](https://github.com/GDWR) and [fisher60](https://github.com/fisher60) from [AbandonTech](https://abandontech.cloud), Yaksha webiste is now recreated with Astro. 🎉 + + +* Astro allow you to build pages with `.md` and `.mdx` files. +* You can also create components similar to React. +* Tailwindcss is the new kid on the block when it comes to a CSS framework. However, unlike bootstrap it is basically a CSS framework. +* DaisyUI - UI components built on top of Tailwindcss. + + +😮‍💨 No more CSS (pain) for me. Thank you very much. 🤣 + +## v0.0.5 is out + +v0.0.5 was released recently with plenty of new features. + +* `sr` data type is a game changer with the ability to encapsulate `string literals`, `sds strings (not copied)`, `c strings` +* Number auto cast from smaller numbers to larger. +* String auto cast and default to internal compile time `:s:` string literal data type whenever posible. +* MacOS binaries are now built with github actions. + + +You can read more [here](https://github.com/YakshaLang/Yaksha/releases/tag/v0.0.5) \ No newline at end of file diff --git a/src/pages/docs/0001-features.mdx b/src/pages/docs/0001-features.mdx index 285494a..44accbf 100644 --- a/src/pages/docs/0001-features.mdx +++ b/src/pages/docs/0001-features.mdx @@ -316,7 +316,7 @@ def main() -> int: ``` Output: -```text +```plaintext Hello World All done ``` diff --git a/src/pages/yama/0010_number_auto_widening.md b/src/pages/yama/0010_number_auto_widening.md index b5b8962..71e9588 100644 --- a/src/pages/yama/0010_number_auto_widening.md +++ b/src/pages/yama/0010_number_auto_widening.md @@ -15,7 +15,7 @@ Assignment would follow same casting style, except lhs needs to be wider. Bitwise operations would require manual casting to same data type. -```text +```plaintext .-------------. | bool | '.-----------.'