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

test: confirm that unknown lexers emit code blocks #256

Merged
merged 1 commit into from Aug 21, 2022

Conversation

miketheman
Copy link
Member

In previous versions, this example would error, but now emits a code
block. If the end user includes a syntax that Pygments does not
implement yet, or makes a mistake, the resulting HTML will be valid and
succeed, but may not be as pretty as other code blocks.

Resolves: #116
Refs: #168

Signed-off-by: Mike Fiedler miketheman@gmail.com

In previous versions, this example would error, but now emits a code
block. If the end user includes a syntax that Pygments does not
implement yet, or makes a mistake, the resulting HTML will be valid and
succeed, but may not be as pretty as other code blocks.

Resolves: pypa#116
Refs: pypa#168

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@miketheman miketheman force-pushed the miketheman/test-rst-unknown-lexer branch from 1a58c50 to 356ec58 Compare August 21, 2022 21:43
@miketheman miketheman merged commit 4ec558c into pypa:main Aug 21, 2022
@miketheman miketheman deleted the miketheman/test-rst-unknown-lexer branch August 21, 2022 21:46
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.

Ignore unknown lexers
2 participants