github happytodev/blogr v1.29.0

4 hours ago

✨ Features

  • callouts: Add CalloutExtension for :::tip / :::info / :::danger / :::caution admonition blocks in Markdown rendering (#305)
  • callouts: Add IconHelper, IconPicker component, and SVG icon route for heroicon selection (#304)
  • callouts: Icons now always render (with or without title) — better visual identification at a glance
  • callouts: Improved icon hierarchy — caution uses warning triangle, danger uses prohibitive x-circle
  • callouts: Icons upgraded to Heroicons v2 outline at 32px with stroke-width="1.5" for crisper details
  • callouts: Title font-size increased to 1.125rem, content font-size set to 0.75rem
  • callouts: CSS styling included in PDF exports — callouts render with colors and borders in generated PDFs
  • editor: New CalloutMarkdownEditor field extending MarkdownEditor — adds 4 dedicated toolbar buttons (Tip, Info, Caution, Danger) that insert callout templates at cursor position
  • editor: CalloutMarkdownEditor replaces MarkdownEditor in all blog post, docs, CMS, profile and author bio forms
  • editor: IconPicker form field with searchable grid, SVG preview, and live Alpine.js state binding

🐛 Fixed

  • callouts: Split CalloutParser into CalloutStartParser + CalloutParser following CommonMark 2.x patterns (correct tryContinue() signature returning ?BlockContinue)
  • callouts: Proper BlockContinue::finished() on ::: closing delimiter (prevents infinite loop)
  • callouts: CalloutStartParser now returns ->at($cursor) — correct cursor advancement after parsing
  • icon-picker: Remove re-render flag from $wire.set() to prevent Alpine state reset on icon selection

🧪 Tests

  • CalloutMarkdownEditorTest — class extension, view path, button structure and accessibility attributes
  • AuthorBioFieldEnhancementsTest — updated assertions for CalloutMarkdownEditor
  • DocSettingsTest — PDF template includes callout CSS styling

Don't miss a new blogr release

NewReleases is sending notifications on new releases.