PrismJS sort of broken backward compatibility, while trying to improve highlight resilience^1. Since then it is required to add data-line-offset for any code, which doesn't start counting from 1, which is pretty each time, we deal with stack frames.
This commits add silently required data attribute in HTML, bringing back highlight feature and recovering from some fall through errors, raised by TypeError in JS execution flow (i.e. switching application and full frames tabs).
PrismJS sort of broken backward compatibility, while trying to improve highlight resilience^1. Since then it is required to add
data-line-offset
for any code, which doesn't start counting from 1, which is pretty each time, we deal with stack frames.This commits add silently required data attribute in HTML, bringing back highlight feature and recovering from some fall through errors, raised by
TypeError
in JS execution flow (i.e. switching application and full frames tabs).