Skip to content

v0.1.7

Choose a tag to compare

@fasilwdr fasilwdr released this 20 Feb 06:35
· 13 commits to main since this release

Release Notes - md2indexhtml v0.1.7

Major Changes

  • Added support for direct HTML sections in markdown files
  • Removed table of contents generation for cleaner output
  • Implemented new section-based layout system
  • Switched to complete inline styling (no external CSS)

Features

  • New gradient-based section styling for # headers
  • Card-based layout system for ## headers
  • Support for preserving raw HTML sections
  • Default title set to "Documentation"
  • Improved Font Awesome integration via JS

Technical Improvements

  • Rewrote content processing to maintain original document order
  • Added section deduplication to prevent duplicate content
  • Improved markdown style application with dedicated styling function
  • Removed external CSS dependencies
  • Enhanced inline style handling for better compatibility

Style Changes

  • Added gradient backgrounds for main sections
  • Implemented card-based layout for subsections
  • Updated color scheme to use #003554 and #52A3AB
  • Improved typography with Inter font family
  • Enhanced mobile responsiveness

Breaking Changes

  • Removed table of contents functionality
  • Changed style application method from classes to inline styles
  • Modified header conversion behavior
  • Removed external CSS file requirements

Bug Fixes

  • Fixed duplicate section rendering issue
  • Corrected style application in link tags
  • Fixed unwanted bullet points in header
  • Resolved section ordering issues

Documentation

  • Updated README with new features and examples
  • Added documentation for HTML section support
  • Updated usage examples
  • Improved installation instructions

Dependencies

  • Requires Python >= 3.6
  • Requires markdown >= 3.0

Upgrade Instructions

To upgrade to this version:

pip install md2indexhtml==0.1.7

Any existing markdown files using the table of contents functionality will need to be updated to remove those references.

Notes

  • The removal of the table of contents is a permanent change
  • HTML sections in markdown files are now preserved exactly as written
  • All styles are now applied inline for better compatibility
  • The default title is now "Documentation" unless specified otherwise