NB! It seems this console command is not compatible with CS2.
Command Profile

DEMO_LISTHIGHLIGHTS

CS:GO

This command produces a list of the highlights data extracted from the demo you're watching. Data will be pasted into your developer console.

Syntax
demo_listhighlights

Description

This command produces a list of the highlights data extracted from the demo you're watching. Data will be pasted into your developer console.

Syntax And Arguments

demo_listhighlights