Feature/ext-blog #14

Merged
deepDiverPaul merged 6 commits from feature/ext-blog into main 2026-12-02 10:22:47 +00:00
Owner
No description provided.
deepDiverPaul added 6 commits 2026-12-02 10:20:40 +00:00
The PostsRepository now includes methods for fetching paginated and searched posts. The admin and public views include search forms, pagination controls, and display total counts instead of just post counts. Tests verify the new functionality including special character search handling and pagination limits.
Updated README.md to document Markdown rendering and image authoring capabilities. Added PostContentRenderer class for safe Markdown parsing with XSS protection. Updated PostsRepository to fetch and resolve featured image data from the uploads table. Added UI controls in EditPost.php for selecting images and inserting inline Markdown. Updated views to display featured images on post cards and detail pages.
Replace the plain textarea with a CodeMirror-based editor supporting syntax highlighting, formatting toolbar (bold, italic, lists, code blocks), and a live preview toggle. Update PostContentRenderer to handle new Markdown syntax (blockquotes, fenced code blocks). Add a preview endpoint for rendering content without saving.
Added language-specific syntax highlighting support to the markdown editor and preview. New code-highlighter assets are registered for public pages and admin headers. The PostContentRenderer detects language identifiers in code fences to apply appropriate CSS classes for highlighting. Tests verify the highlighting works correctly and unsafe content is escaped properly.
deepDiverPaul force-pushed feature/ext-blog from 8ebed89e73 to 6f0e39b5f5 2026-12-02 10:20:40 +00:00 Compare
deepDiverPaul merged commit f01cad090c into main 2026-12-02 10:22:47 +00:00
deepDiverPaul deleted branch feature/ext-blog 2026-12-02 10:22:47 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: deepDiverPaul/plugi#14