feat: raw HTML passthrough, details styling, accent headings

- Allow raw HTML in markdown (html.WithUnsafe) for <details> blocks
- Style <details>/<summary> with purple gradient, custom markers
- h2/h3 headings now accent purple to distinguish from body text
- Second blog post: "Transformers and Neural Networks"

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
This commit is contained in:
2026-06-25 04:53:50 +03:00
parent 361e3f331d
commit 91e0a579b4
3 changed files with 118 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ import (
var md = goldmark.New(
goldmark.WithExtensions(extension.GFM),
goldmark.WithRendererOptions(html.WithHardWraps()),
goldmark.WithRendererOptions(html.WithHardWraps(), html.WithUnsafe()),
)
type Post struct {