Skip to content

Add and require version_added lexer attribute#2589

Merged
jeanas merged 6 commits intopygments:masterfrom
jeanas:version-added
Nov 26, 2023
Merged

Add and require version_added lexer attribute#2589
jeanas merged 6 commits intopygments:masterfrom
jeanas:version-added

Conversation

@jeanas
Copy link
Contributor

@jeanas jeanas commented Nov 19, 2023

Next step for #2585 :)

  • MXML: Remove bogus mimetypes line

  • Savi: Fix indentation

  • Move versionadded data to a lexer attribute

    That way, we can set it to "" for old lexers, and check that it's
    present on new lexers. (In the future, we might also use it for better
    presentation in the documentation.)

  • Make documentation use the new version_added lexer attribute

  • Require the version_added lexer attribute

  • Harmonize version_added format

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants