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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| generate_jsonblog.py | ||
| generate_jsonfeed.py | ||
| generate_llms_txt.py | ||
| generate_plaintext.py | ||
| liblinkpeek.py | ||
| rst2md.py | ||
| rst_linkpeek.py | ||
| strip_toc_summary.py | ||