Skip to content

Trigger syntax highlighting for code examples #33

@patrickmckenna

Description

@patrickmckenna

Suggestion: make use of syntax-highlighting available in GitHub-flavored Markdown.

Example current view:

no_syntax_highlighting

Example with syntax highlighting:

with_syntax_highlighting

Note: many of the current code examples use indentation, rather than fenced code block syntax, to trigger monospace rendering. Those examples would need to be converted to fenced code blocks to get syntax highlighting.

Happy to open a PR if this is desired.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions