refactor: replace inline markdown with markdown package dependency

Remove 606 lines of hand-rolled markdown parsing from main.lux and the
unused markdown.lux split file. Replace with `import markdown` using the
new markdown package (path dependency at ../markdown).

This fixes the heading-in-list rendering bug where `- ### Title` was
showing literal `### ` text. Now renders as `<li><h3>Title</h3></li>`.
Also adds strikethrough support (~~text~~).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-18 10:21:46 -05:00
parent ec124768dc
commit 6e0c685831
5 changed files with 18 additions and 606 deletions

7
lux.lock Normal file
View File

@@ -0,0 +1,7 @@
# This file is auto-generated by lux pkg. Do not edit manually.
[[package]]
name = "markdown"
version = "0.0.0"
source = "path:../markdown"