Implement blog system with markdown loader #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Create a blog system using markdown files with frontmatter metadata. Includes a listing page, dynamic article routing, and a markdown processing utility.
Architecture
Component Details
1. Markdown Loader (
utils/markdown_loader.py)2. Blog Index Page (
pages/blog/index.py)3. Article Page (
pages/blog/article.py)path_template="/blog/<slug>"4. Frontmatter Format
Acceptance Criteria
content/blog/directory createdmarkdown_loader.pyutility implemented/bloglisting all articles/blog/<slug>Dependencies
pyproject.toml:python-frontmatter,markdown,pygments(for syntax highlighting)Initial Articles (Placeholders)
From blueprint "5. BLOG PAGE":
Content can be placeholder text with the article structure from the blueprint.
Technical Notes
dash.register_page()withpath_templatefor dynamic routingdmc.TypographyStylesProviderfor markdown HTML stylinghtml.Div(dangerously_allow_html=True)carefully for rendered markdownLabels: Type/Feature, Priority/High, Complexity/High, Efforts/L, Component/Frontend, Tech/Python, Sprint/8
✅ Completed
Implemented full blog system with markdown + frontmatter:
Files Created:
portfolio_app/utils/markdown_loader.py- Markdown parsing with syntax highlightingportfolio_app/pages/blog/index.py- Article listing at/blogportfolio_app/pages/blog/article.py- Dynamic routing at/blog/<slug>portfolio_app/content/blog/building-data-platform-team-of-one.md- First articleFeatures:
All syntax and lint checks pass. Markdown loader tested and working.