siavashs / Prism

Prism is a {code} macro plugin for Atlassian Jira

Home Page:https://marketplace.atlassian.com/plugins/com.catawiki.jira.prism

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

firstline and highlight parameter combination issue/question

Sevone-ssundelin opened this issue · comments

Hi,

If you combine the two parameters firstline and highlight, like so:

code:diff|title=/subdir/sevone-chessgame|highlight=338|linenumbers|firstline=331

I would expect the 8th line (338) to be highlighed, but nothing is (unless you have more than 337 lines in your code snippet).

Is this by design?

BR,
Sten Sundelin, SevOne

Hi @Sevone-ssundelin,

Good point. I think the correct behaviour is what you described.
I'll check this, it might be a bug in the JS library and maybe already fixed.

Cheers,
Siavash

This issue is resolved as part of 1.2.2 release.
image