Skip to content

Syntax Highlighting on Website for Soar Code #24

@moschmdt

Description

@moschmdt

It would be nice, if the Soar code snippets on the website would have syntax highlighting.

According to the MkDocs Material docs relies on pygments to highlight the syntax of code blocks. Unfortunately, pygments does not have a Soar lexer, yet.

I have created a pygments lexer for Soar in my fork, but this needs more work until it might be in a state which is acceptable to be merged in pygments.

Tasks for native highlighting for Soar code via mkdocs:

  • Complete Lexer in fork
  • Merge Soar lexer in upstream pygments
  • Update mkdocs material version once pygments version is updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions