Skip to content

[SE-4628] feat: add code highlighting

Boros Gábor requested to merge gabor/add-code-highlighting into master

Description

This Merge Request adds a code highlighting and line numbering feature to the public documentation.

Supporting information

Related ticket: https://tasks.opencraft.com/browse/SE-4628

Dependencies

No dependencies.

Screenshots

before

Screenshot_2021-07-29_at_8.30.23

after

Screenshot_2021-07-29_at_8.29.52

Testing instructions

  1. check out the branch
  2. read through the code changes
  3. create and active a (py38) virtualenv
  4. run make
  5. run make run
  6. navigate to http://127.0.0.1:8000/roles/#ospr-liaison
  7. validate the code is highlighted and line numbering is set

Deadline

None

Other information

N/A

Merge request reports