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.

Line highlight is not working in D2

See original GitHub issue

🐛 Bug Report

Line highlight is not working in D2,

To Reproduce

(Write your steps here:)

code block:

function HighlightSomeText(highlight) {
  if (highlight) {
    return 'This text is highlighted!';
  }

  return 'Nothing highlighted';
}

Expected behavior

line 3 should be highlighted in the rendered codeblock.

Actual Behavior

image

Your Environment

  • Docusaurus version used: 2.0.0-alpha.50

  • Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Google Chrome 81.0.4044.138-1

  • Operating system and version (desktop or mobile): Linux desktop

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
yangshuncommented, May 11, 2020

Yes kinda, if you ran the init command again and moved all your contents there. But I wouldn’t advise to do that. This is probably the only change that we made to the skeleton custom.css.

1reaction
omrycommented, May 10, 2020

Ah, I missed that.I was expecting to to work out of the box.

once I add the css block to my custom.css it works: image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel highlight row based on cell value not working.
Hello! I am trying to highlight rows in my spreadsheet green using the =$H10=”Completed” conditional format, but it is not highlighting ...
Read more >
Debugging not highlighting current line - Stack Overflow
KDbg will highlight the current line when you start it from the command line and from the same directory where the assembly source...
Read more >
Introduction to gghighlight
It is easy to add labels on only highlighted data because gghighlight() replaces the plot's data to the filtered one. p <- ggplot(d2,...
Read more >
Highlight Rows Based on a Cell Value in Excel (Conditional ...
Want to highlight rows based on a cell value? In this tutorial, I will show you how to use Conditional Formatting to highlight...
Read more >
How to highlight overdue items, coming up and completed in ...
Congratulations to you if your job does not involve dead lines. For the rest of us, ... The problem – Highlight due dates...
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