--- title: My Files & Comrak Demo description: This page showcases various Comrak Markdown extensions for enhanced content quality. --- hi and welcome to my new website. it is still under construction but right now, you should be able to browse the blog without having full page reloads. I'm using htmz and I'll add new features as I learn a bit about php. One of the many things I would like to accomplish with this website is to demo several projects like combining some API services with wasm. A solar economics calculator is something I have in mind but mainly this website can be a platform where I can rapidly iterate versus having to maintain html frameworks all for the aesthetic appeal. ## Comrak Markdown Extensions Demo This section demonstrates various improved Markdown features thanks to Comrak's additional flags. ### 1. Syntax Highlighting ```php ``` ```javascript // JavaScript example const factorial = (n) => { if (n === 0 || n === 1) { return 1; } return n * factorial(n - 1); }; console.log(factorial(5)); // Should output 120 ``` ### 2. Footnotes Here's a sentence that needs more context. This is where a footnote comes in handy.^[This is the detailed explanation for the previous sentence. Footnotes allow you to add supplementary information without interrupting the main text flow.] Another point to note.^[[2] This is a second footnote, showing that you can have multiple. They are automatically numbered.] ### 3. Smart Punctuation "Hello, World!" What a classic phrase. You'll notice single quotes too: 'Apostrophe'. Even an em-dash—like this—is handled. ### 4. Task Lists - [x] Task list item 1 (completed) - [ ] Task list item 2 (pending) - [x] Sub-task A - [ ] Sub-task B - [ ] Task list item 3 ### 5. Gemoji Support This site is awesome! :rocket: I really like it. :+1: We can add more emojis like :smiley: or :bulb:.