Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: Refactoring Code-class and new Custom pygments based formatter #3905

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Aug 16, 2024

  1. update:

    * Refactoring whole Code class from old Html- parser to use new custom Formatter
    * Cutting Code-class internal attributes on which information comes from user
    * Moved Object Constructor methods to separate functions
    Depricated:
    * Generate_html_file argument won't fit with current formatter.
    * Indentation_chars argument, is no more needed
    Feature:
    * Custom Formatter based on Pygments backend.
    * Utility_file to Code-class testing
    * Added tests
    * Runtime error handling
    tested:
    * pygments 2.18.0
    Oliver Strait committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    b4f283b View commit details
    Browse the repository at this point in the history
  2. * Fixin broken testes

    * Little linter-error fixes
    Oliver Strait committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    241fc88 View commit details
    Browse the repository at this point in the history
  3. * Fixin broken testes

    * Little linter-error fixes
    * More error fixes
    Oliver Strait committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    1258d00 View commit details
    Browse the repository at this point in the history
  4. * little fixes

    Oliver Strait committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    6ed98f3 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Making parser more general

    so it can handle more hidden Tokenizer quirks automatically
    * Removing newlines from end -> Those causes Paragraph class
    to missbehave and enproduct had code line-number miss alignment
    Oliver Strait committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    34f8af4 View commit details
    Browse the repository at this point in the history