Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
latextemplates
GitHub Repository: latextemplates/scientific-thesis-template
Path: blob/main/docs/adr/0003-use-minted-for-code-highlithing.md
431 views

Use minted for code highlighting

Context and Problem Statement

Source code needs to be highlighted

Considered Options

Decision Outcome

Chosen option: "minted", because

  1. Listings is inferior because it doesn't utilize a full lexer

  2. Minted offers integration with pygments and is actively maintained.

  3. The person who took over minted development, evaluated all alternatives and came to the conclusion that minted is the most promising solution.

Positive Consequences:

  • Source is highlighted properly

Negative consequences:

  • Users need to install python and pygments