russell.ballestrini.net/lib
russell@unturf.com 01b1c2056d Use Markdown content from index.md in blog.json instead of HTML
Updated generate_jsonblog.py to:
- Load Markdown content from output/<slug>/index.md files
- Set content_type: 'markdown' for each post
- Fall back to plain text if index.md not found

This ensures blog.json contains native Markdown content converted
from RST via pandoc, rather than stripped HTML from the Atom feed.

Works with the build order in make formats:
1. rst2md converts RST to Markdown
2. jsonblog reads the Markdown files
3. blog.json contains proper Markdown with content_type set

Result: 100/100 posts now have Markdown content with content_type field.
2026-01-19 15:05:20 -05:00
..
__init__.py renamed: plugins/__init__.py -> lib/__init__.py 2016-05-24 18:15:09 -04:00
generate_jsonblog.py Use Markdown content from index.md in blog.json instead of HTML 2026-01-19 15:05:20 -05:00
generate_jsonfeed.py Add lib/ format generation scripts for agent-friendly formats 2026-01-19 14:36:20 -05:00
generate_llms_txt.py Add lib/ format generation scripts for agent-friendly formats 2026-01-19 14:36:20 -05:00
generate_plaintext.py Add lib/ format generation scripts for agent-friendly formats 2026-01-19 14:36:20 -05:00
liblinkpeek.py move some libs to python3 2020-09-01 21:36:36 -04:00
rst2md.py Add lib/ format generation scripts for agent-friendly formats 2026-01-19 14:36:20 -05:00
rst_linkpeek.py move some libs to python3 2020-09-01 21:36:36 -04:00
strip_toc_summary.py Move strip_toc_summary plugin to lib/ directory 2025-10-13 09:46:25 -04:00