Skip to content
New issue

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

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

Already on GitHub? # to your account

Mark partial and invalid JSON code snippets as YAML #326

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

nblumhardt
Copy link
Member

GitHub markdown syntax highlighting is awful for invalid/incomplete JSON, e.g.:

image

This PR is a "quick fix" - YAML is a subset of JSON, but the highlighter is more forgiving :-)

@skomis-mm skomis-mm merged commit 8f241f8 into serilog:dev Sep 14, 2022
@skomis-mm
Copy link
Contributor

👍

@nblumhardt nblumhardt mentioned this pull request Dec 19, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants