question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Is there a way to "highlight" just certain lines?

See original GitHub issue

Hey.

I would like to know if it’s possible to highlight just some lines. For sure I still want the colours on the whole code, but I also would like a highlight on certain part of code.

Some of highlighters in markdown use this trick (remove the \ here, it’s just to display it well):

\```javascript{2-5}
{...}
\```

to highlight the lines from 2th to 5th.

It could be great to have it here.

You’ve got an example here: https://opensource.appbase.io/reactive-manual/getting-started/reactivebase.html

Screen Shot 2019-11-03 at 12 35 05

Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
eric-wiesercommented, Apr 18, 2022

I’ve just been using the old version, as that’s what ships with reveal.js anyway, which is where I was using it.

1reaction
eric-wiesercommented, Mar 22, 2022

For any future readers confused by this issue, note that “DOM auto-merge stuff” was removed in #2889.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Highlight or Select Text - Computer Hope
To select only certain items from the list, hold down Ctrl , and click each item you want to highlight. Repeat this action...
Read more >
Highlight Question - Qualtrics
Click Add new question. · From the dropdown, choose Highlight. · Enter your question text, then select the blue Click to edit highlight...
Read more >
word 2016 - how do I highlight the whole line instead of just the
By highlight, I'm assuming you mean what Word calls "select" so that you can copy it or change the formatting.
Read more >
Is there a way to highlight all lines containing a string, instead ...
Anyway, like I said, I'd like to be able to see the line and the text highlighted separately if possible. If not, I'll...
Read more >
How to highlight specific lines in specific groups with ggplot2?
One option would be to first group data in subgroups (nesting in the dataframe) and then build the plots.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found