Support » Plugin: Pastacode » Possibly bug: highlight poisition

  • The highlight is off by a line. Say, instead of highlight Line 5, it’s highlighting Line 6.

    I’m not sure if there is a theme conflict but so far, I have not found any.

    Tested on the following, all positive:
    1. Ridizain theme
    2. Timeturner theme
    3. “Manual”
    4. “Gist”

    What I did, temporarily, is add this in my personal CSS file to override:

    .line-highlight {
      margin-top: initial;

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Willy Bahuaud



    For the new release I worked on the prismjs css themes, I think the problem is fixed, can you confirm?


    I have the same problem using Pastacode Version 1.6 “Manual” choice in Chrome where the highlight is not centered on the line but raised about 25% – 50% of the line height.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possibly bug: highlight poisition’ is closed to new replies.